- More fixes for CI failing tests
This commit is contained in:
@@ -9,12 +9,12 @@ TEST_CASE("Basic Execution", "[forking_executor]") {
|
|||||||
daggy::executors::task::ForkingTaskExecutor ex(10);
|
daggy::executors::task::ForkingTaskExecutor ex(10);
|
||||||
|
|
||||||
SECTION("Simple Run") {
|
SECTION("Simple Run") {
|
||||||
daggy::Task task{.command{"/usr/bin/echo", "abc", "123"}};
|
daggy::Task task{.command{"/bin/echo", "abc", "123"}};
|
||||||
|
|
||||||
auto rec = ex.runCommand(task);
|
auto rec = ex.runCommand(task);
|
||||||
|
|
||||||
REQUIRE(rec.rc == 0);
|
REQUIRE(rec.rc == 0);
|
||||||
REQUIRE(rec.outputLog.size() >= 7);
|
REQUIRE(rec.outputLog.size() >= 6);
|
||||||
REQUIRE(rec.errorLog.empty());
|
REQUIRE(rec.errorLog.empty());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user