Skip to content

Commit c48463c

Browse files
authored
Fix testWorkflow and enable it on CI (#238)
* Fix testWorkflow and enable it on CI * retrigger the tests.
1 parent d2a5811 commit c48463c

3 files changed

Lines changed: 4 additions & 7 deletions

File tree

Framework/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,6 @@ set_property(TEST testObjectsManager PROPERTY TIMEOUT 60)
255255
set_property(TEST testObjectsManager PROPERTY LABELS slow)
256256
set_property(TEST testCcdbDatabase PROPERTY TIMEOUT 60)
257257
set_property(TEST testCcdbDatabase PROPERTY LABELS slow)
258-
# Temporarily disable tests that fail on CI
259-
set_property(TEST testWorkflow PROPERTY LABELS manual)
260258

261259
# ---- Install ----
262260

Framework/test/testWorkflow.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ WorkflowSpec defineDataProcessing(ConfigContext const&)
3838
Outputs{
3939
{ { "tst-data" }, "TST", "DATA" } },
4040
AlgorithmSpec{
41-
[](ProcessingContext& /*pctx*/) {
41+
[](ProcessingContext& pctx) {
4242
usleep(100000);
43-
// auto data = pctx.outputs().make<int>(OutputRef{ "tst-data" }, 1);
43+
pctx.outputs().make<int>(OutputRef{ "tst-data" }, 1);
4444
} }
4545
};
4646
specs.push_back(producer);

Framework/test/testWorkflow.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
},
2727
"taskParameters": {},
2828
"location": "remote",
29-
"machines": []
29+
"machines": []
3030
}
3131
}
3232
},
@@ -36,9 +36,8 @@
3636
"active": "true",
3737
"machines": [],
3838
"query": "tst-data:TST/DATA/0",
39-
"subSpec": "0",
4039
"samplingConditions": [],
4140
"blocking": "false"
4241
}
4342
]
44-
}
43+
}

0 commit comments

Comments
 (0)