Skip to content

Commit

Permalink
tests: fix typo in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
csegarragonz committed Aug 30, 2023
1 parent 5be9e30 commit 4639132
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test/scheduler/test_scheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ TEST_CASE_METHOD(SlowExecutorTestFixture,
sch.awaitThreadResults(reqOne);
} else {
for (int i = 0; i < nCallsOne; i++) {
plannerCli.getMessageResult(appId, reqOneMsgIds.at(i), 10000);
plannerCli.getMessageResult(appId, reqOneMsgIds.at(i), 500);
}
}

Expand Down Expand Up @@ -301,10 +301,10 @@ TEST_CASE_METHOD(SlowExecutorTestFixture,

// Await the results
if (isThreads) {
sch.awaitThreadResults(reqOne);
sch.awaitThreadResults(reqTwo);
} else {
for (int i = 0; i < nCallsOne; i++) {
plannerCli.getMessageResult(appId, reqOneMsgIds.at(i), 10000);
for (int i = 0; i < nCallsTwo; i++) {
plannerCli.getMessageResult(appId2, reqTwoMsgIds.at(i), 10000);
}
}

Expand Down

0 comments on commit 4639132

Please sign in to comment.