Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
csegarragonz committed Oct 29, 2021
1 parent 11ec3fc commit 80e5521
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/scheduler/MpiWorld.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ void MpiWorld::create(faabric::Message& call, int newId, int newSize)
// Log chained functions to generate execution graphs
if (thisRankMsg != nullptr && thisRankMsg->recordexecgraph()) {
sch.logChainedFunction(call.id(), msg.id());
msg.set_recordexecgraph(true);
}
}

Expand Down
1 change: 1 addition & 0 deletions tests/test/scheduler/test_exec_graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ TEST_CASE_METHOD(MpiBaseTestFixture,
messages.at(rank).set_mpiworldid(worldId);
messages.at(rank).set_mpirank(rank);
messages.at(rank).set_mpiworldsize(worldSize);
messages.at(rank).set_recordexecgraph(true);
}

world.create(msg, worldId, worldSize);
Expand Down
1 change: 0 additions & 1 deletion tests/test/util/test_json.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ TEST_CASE("Test message to JSON round trip", "[util]")
REQUIRE(msg.timestamp() > 0);

std::string jsonString = faabric::util::messageToJson(msg);
SPDLOG_INFO("{}", jsonString);

faabric::Message actual = faabric::util::jsonToMessage(jsonString);

Expand Down

0 comments on commit 80e5521

Please sign in to comment.