Validate diffuser through the full stack
This commit is contained in:
@@ -5,6 +5,7 @@ module.exports = {
|
|||||||
'<rootDir>/nodes/generalFunctions/src/coolprop-node/test/**/*.test.js',
|
'<rootDir>/nodes/generalFunctions/src/coolprop-node/test/**/*.test.js',
|
||||||
'<rootDir>/nodes/generalFunctions/test/**/*.test.js',
|
'<rootDir>/nodes/generalFunctions/test/**/*.test.js',
|
||||||
'<rootDir>/nodes/dashboardAPI/test/**/*.test.js',
|
'<rootDir>/nodes/dashboardAPI/test/**/*.test.js',
|
||||||
|
'<rootDir>/nodes/diffuser/test/specificClass.test.js',
|
||||||
'<rootDir>/nodes/monster/test/**/*.test.js',
|
'<rootDir>/nodes/monster/test/**/*.test.js',
|
||||||
'<rootDir>/nodes/pumpingStation/test/**/*.test.js',
|
'<rootDir>/nodes/pumpingStation/test/**/*.test.js',
|
||||||
'<rootDir>/nodes/reactor/test/**/*.test.js',
|
'<rootDir>/nodes/reactor/test/**/*.test.js',
|
||||||
|
|||||||
Submodule nodes/diffuser updated: ce48389791...0570df208c
@@ -12,6 +12,7 @@
|
|||||||
"node-red": {
|
"node-red": {
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"dashboardapi": "nodes/dashboardAPI/dashboardapi.js",
|
"dashboardapi": "nodes/dashboardAPI/dashboardapi.js",
|
||||||
|
"diffuser": "nodes/diffuser/diffuser.js",
|
||||||
"machineGroupControl": "nodes/machineGroupControl/mgc.js",
|
"machineGroupControl": "nodes/machineGroupControl/mgc.js",
|
||||||
"measurement": "nodes/measurement/measurement.js",
|
"measurement": "nodes/measurement/measurement.js",
|
||||||
"monster": "nodes/monster/monster.js",
|
"monster": "nodes/monster/monster.js",
|
||||||
|
|||||||
@@ -366,5 +366,75 @@
|
|||||||
"x": 920,
|
"x": 920,
|
||||||
"y": 500,
|
"y": 500,
|
||||||
"wires": []
|
"wires": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "inject-diffuser-flow",
|
||||||
|
"type": "inject",
|
||||||
|
"z": "e2e-flow-tab",
|
||||||
|
"name": "Diffuser airflow",
|
||||||
|
"props": [
|
||||||
|
{ "p": "payload" },
|
||||||
|
{ "p": "topic", "vt": "str" }
|
||||||
|
],
|
||||||
|
"repeat": "",
|
||||||
|
"crontab": "",
|
||||||
|
"once": true,
|
||||||
|
"onceDelay": "9",
|
||||||
|
"topic": "air_flow",
|
||||||
|
"payload": "24",
|
||||||
|
"payloadType": "num",
|
||||||
|
"x": 150,
|
||||||
|
"y": 620,
|
||||||
|
"wires": [["diffuser-e2e"]]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "diffuser-e2e",
|
||||||
|
"type": "diffuser",
|
||||||
|
"z": "e2e-flow-tab",
|
||||||
|
"name": "E2E-Diffuser",
|
||||||
|
"number": 1,
|
||||||
|
"i_elements": 4,
|
||||||
|
"i_diff_density": 2.4,
|
||||||
|
"i_m_water": 4.5,
|
||||||
|
"alfaf": 0.7,
|
||||||
|
"enableLog": false,
|
||||||
|
"logLevel": "error",
|
||||||
|
"x": 390,
|
||||||
|
"y": 620,
|
||||||
|
"wires": [["debug-diffuser-process"], ["debug-diffuser-dbase"], []]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "debug-diffuser-process",
|
||||||
|
"type": "debug",
|
||||||
|
"z": "e2e-flow-tab",
|
||||||
|
"name": "Diffuser Process Output",
|
||||||
|
"active": true,
|
||||||
|
"tosidebar": true,
|
||||||
|
"console": true,
|
||||||
|
"tostatus": true,
|
||||||
|
"complete": "true",
|
||||||
|
"targetType": "full",
|
||||||
|
"statusVal": "",
|
||||||
|
"statusType": "auto",
|
||||||
|
"x": 670,
|
||||||
|
"y": 600,
|
||||||
|
"wires": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "debug-diffuser-dbase",
|
||||||
|
"type": "debug",
|
||||||
|
"z": "e2e-flow-tab",
|
||||||
|
"name": "Diffuser Database Output",
|
||||||
|
"active": true,
|
||||||
|
"tosidebar": true,
|
||||||
|
"console": true,
|
||||||
|
"tostatus": true,
|
||||||
|
"complete": "true",
|
||||||
|
"targetType": "full",
|
||||||
|
"statusVal": "",
|
||||||
|
"statusType": "auto",
|
||||||
|
"x": 680,
|
||||||
|
"y": 640,
|
||||||
|
"wires": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ LOG_WAIT=20
|
|||||||
# EVOLV node types that must appear in the palette (from package.json node-red.nodes)
|
# EVOLV node types that must appear in the palette (from package.json node-red.nodes)
|
||||||
EXPECTED_NODES=(
|
EXPECTED_NODES=(
|
||||||
"dashboardapi"
|
"dashboardapi"
|
||||||
|
"diffuser"
|
||||||
"machineGroupControl"
|
"machineGroupControl"
|
||||||
"measurement"
|
"measurement"
|
||||||
"monster"
|
"monster"
|
||||||
@@ -193,6 +194,8 @@ wait_for_log_pattern "Database Output" "EVOLV measurement node produced database
|
|||||||
wait_for_log_pattern "Process Output" "EVOLV measurement node produced process output" true || true
|
wait_for_log_pattern "Process Output" "EVOLV measurement node produced process output" true || true
|
||||||
wait_for_log_pattern "Monster Process Output" "EVOLV monster node produced process output" true || true
|
wait_for_log_pattern "Monster Process Output" "EVOLV monster node produced process output" true || true
|
||||||
wait_for_log_pattern "Monster Database Output" "EVOLV monster node produced database output" true || true
|
wait_for_log_pattern "Monster Database Output" "EVOLV monster node produced database output" true || true
|
||||||
|
wait_for_log_pattern "Diffuser Process Output" "EVOLV diffuser node produced process output" true || true
|
||||||
|
wait_for_log_pattern "Diffuser Database Output" "EVOLV diffuser node produced database output" true || true
|
||||||
wait_for_log_pattern "DashboardAPI Output" "EVOLV dashboardapi node produced create output" true || true
|
wait_for_log_pattern "DashboardAPI Output" "EVOLV dashboardapi node produced create output" true || true
|
||||||
|
|
||||||
# --- Step 6: Summary ---
|
# --- Step 6: Summary ---
|
||||||
|
|||||||
Reference in New Issue
Block a user