Skip to content

Commit 174e54b

Browse files
committed
DPL: fix one more test requiring endOfStream
1 parent 716da52 commit 174e54b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Framework/Core/test/test_SimpleStringProcessing.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ WorkflowSpec defineDataProcessing(ConfigContext const&)
3434
auto& out1 = ctx.outputs().make<std::string>(Output{"TES", "STRING"}, "default");
3535
assert(out1 == "default");
3636
out1 = "Hello";
37+
ctx.services().get<ControlService>().endOfStream();
38+
ctx.services().get<ControlService>().readyToQuit(QuitRequest::Me);
3739
}} //
3840
}, //
3941
DataProcessorSpec{
@@ -51,7 +53,6 @@ WorkflowSpec defineDataProcessing(ConfigContext const&)
5153
} else {
5254
LOG(INFO) << "Everything OK";
5355
}
54-
ctx.services().get<ControlService>().readyToQuit(QuitRequest::All);
5556
} //
5657
} //
5758
} //

0 commit comments

Comments
 (0)