We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99c9850 commit a056c50Copy full SHA for a056c50
tests/test/faaslet/test_exec_graph.cpp
@@ -53,8 +53,12 @@ TEST_CASE_METHOD(FunctionExecTestFixture,
53
sch.callFunctions(req);
54
faabric::Message result = sch.getFunctionResult(call, 5000);
55
REQUIRE(result.returnvalue() == 0);
56
+ for (const int msgId : faabric::util::getChainedFunctions(call)) {
57
+ auto chainedResult = sch.getFunctionResult(call.appid(), msgId, 1000);
58
+ REQUIRE(chainedResult.returnvalue() == 0);
59
+ }
60
- auto execGraph = faabric::util::getFunctionExecGraph(call);
61
+ auto execGraph = faabric::util::getFunctionExecGraph(result);
62
int numNodes = faabric::util::countExecGraphNodes(execGraph);
63
REQUIRE(numNodes == expectedNumNodes);
64
REQUIRE(execGraph.rootNode.msg.id() == call.id());
0 commit comments