Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DRAFT] Add test and some future API changes for startup/cleanup #3100 #3104

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Slightly improved test to allow to pass in unstable timing conditions
Mikolaj Malecki committed Jan 14, 2025
commit 92a9ece23adeed8bf5c8ff40ef819dc5305853dc
3 changes: 3 additions & 0 deletions test/test_bonding.cpp
Original file line number Diff line number Diff line change
@@ -761,6 +761,9 @@ TEST(Bonding, ConnectNonBlocking)

cout << "[A] Waiting for accept\n";

// Yield to allow the "too early" sending to fail
std::this_thread::yield();

// This can wait in infinity; worst case it will be killed in process.
int uwait_res = srt_epoll_uwait(lsn_eid, ev, 3, -1);
EXPECT_EQ(uwait_res, 1);
Loading