Skip to content

Commit

Permalink
#476 fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Strzebonski committed May 26, 2022
1 parent 8f6e191 commit af5e641
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vt/vrt/collection/balance/serdetestlb/serdetestlb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ SerdeTestLB::getInputKeysWithHelp() {
void SerdeTestLB::init(objgroup::proxy::Proxy<SerdeTestLB>) {
vtAssert(
theConfig()->vt_lb_self_migration,
"SerdeTestLB::init(): vt_lb_allow_self_migration flag must be set to use SerdeTestLB\n"
"SerdeTestLB::init(): vt_lb_self_migration flag must be set to use SerdeTestLB\n"
);
}

Expand All @@ -71,7 +71,7 @@ void SerdeTestLB::runLB(TimeType) {
);

if (obj.isMigratable()) {
migrateObjectToSelf(obj);
migrateObjectTo(obj, this_node);
}
}
}
Expand Down
1 change: 1 addition & 0 deletions tests/unit/collection/test_lb.extended.cc
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,7 @@ void serdeColHandler(SerdeTestMsg *, SerdeTestCol *col) {

void runSerdeTest() {
theConfig()->vt_lb = true;
theConfig()->vt_lb_self_migration = true;
theConfig()->vt_lb_name = "SerdeTestLB";
if (theContext()->getNode() == 0) {
::fmt::print("Testing LB: SerdeTestLB\n");
Expand Down

0 comments on commit af5e641

Please sign in to comment.