Skip to content

Commit

Permalink
debug CI
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarWidget committed Oct 4, 2024
1 parent 5aa1f60 commit f356e8b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/cxx/MessagePassingTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ namespace tut {
}

void sendMessagesLater() {
std::cout << "sender: sleep 1" << std::endl;
std::cout << SystemTime::getMonotonicUsec() << " sender: sleep 1" << std::endl;
syscalls::usleep(20000);
std::cout << "sender: sending hi" << std::endl;
std::cout << SystemTime::getMonotonicUsec() << " sender: sending hi" << std::endl;
box->send("hi");
std::cout << "sender: sent hi" << std::endl;
std::cout << "sender: sleep 2" << std::endl;
std::cout << SystemTime::getMonotonicUsec() << " sender: sent hi" << std::endl;
std::cout << SystemTime::getMonotonicUsec() << " sender: sleep 2" << std::endl;
syscalls::usleep(20000);
std::cout << "sender: sending ho" << std::endl;
std::cout << SystemTime::getMonotonicUsec() << " sender: sending ho" << std::endl;
box->send("ho");
std::cout << "sender: sent ho" << std::endl;
std::cout << SystemTime::getMonotonicUsec() << " sender: sent ho" << std::endl;
}
};

Expand Down Expand Up @@ -77,7 +77,7 @@ namespace tut {
unsigned long long timeoutUSec = 200000;
Timer<> timer;
auto m = box->recv("ho", &timeoutUSec);
std::cout << "Done receiving" << std::endl;
std::cout << SystemTime::getMonotonicUsec() << " Done receiving" << std::endl;
if (m == nullptr) {
std::cout << "Timeout" << std::endl;
abort();
Expand Down

0 comments on commit f356e8b

Please sign in to comment.