Skip to content

Commit

Permalink
CI debug
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarWidget committed Oct 4, 2024
1 parent 8ceccf1 commit 6db9d3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/cxx/MessagePassingTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,14 @@ namespace tut {
TempThread thr(boost::bind(&MessagePassingTest::sendMessagesLater, this));
unsigned long long timeoutUSec = 200000;
Timer<> timer;
std::cerr << "Test 1" << std::endl;
ensure_equals("(1)", box->recv("ho", &timeoutUSec)->name, "ho");
ensure("(2)", timer.elapsed() >= 39);
ensure("(3)", timer.elapsed() <= 250);
ensure_equals("(4)", box->size(), 1u);
std::cerr << "Test 2" << std::endl;
ensure_equals("(5)", box->recv("hi")->name, "hi");
std::cerr << "Test 3" << std::endl;
ensure_equals("(6)", box->size(), 0u);
ensure("(7)", timeoutUSec >= 100000);
}
Expand Down

0 comments on commit 6db9d3d

Please sign in to comment.