Skip to content

Commit

Permalink
#2033: tests: add another include, sync the phase work
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Jan 23, 2023
1 parent cdcc394 commit e86514c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/unit/lb/test_offlinelb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@

#include <vt/transport.h>
#include <vt/vrt/collection/balance/lb_data_restart_reader.h>
#include <vt/utils/json/json_appender.h>

#include <fstream>

Expand Down Expand Up @@ -137,7 +138,9 @@ TEST_F(TestOfflineLB, test_offlinelb_1) {
.wait();

for (PhaseType i = 0; i < num_phases; i++) {
proxy.broadcastCollective<typename SimCol::Msg, &SimCol::handler>(i);
runInEpochCollective("run handler", [&]{
proxy.broadcastCollective<typename SimCol::Msg, &SimCol::handler>(i);
});
thePhase()->nextPhaseCollective();
}
}
Expand Down

0 comments on commit e86514c

Please sign in to comment.