Skip to content

Commit 5df19ef

Browse files
committed
protocol.Serializer: Increase ping test timings for windows.
1 parent 406fffd commit 5df19ef

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/elle/protocol/serializer.cc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,18 +1038,19 @@ ELLE_TEST_SCHEDULED(ping)
10381038
{
10391039
elle::reactor::wait(elle::reactor::Waitables{&alice, &bob});
10401040
// Let some pings go through
1041-
elle::reactor::sleep(500_ms);
1041+
elle::reactor::sleep(1_sec);
10421042
timeout_expected = true;
10431043
socket.alice_barrier().close();
10441044
socket.bob_barrier().close();
10451045
// Let some timeouts go through
1046-
elle::reactor::sleep(500_ms);
1046+
elle::reactor::sleep(1_sec);
1047+
10471048
a.terminate();
10481049
b.terminate();
10491050
BOOST_TEST(timeouts >= 2);
10501051
},
1051-
std::chrono::milliseconds(200),
1052-
std::chrono::milliseconds(100));
1052+
std::chrono::milliseconds(400),
1053+
std::chrono::milliseconds(200));
10531054
}
10541055

10551056
ELLE_TEST_SUITE()

0 commit comments

Comments
 (0)