Commit 52c78089 authored by Tim Berning's avatar Tim Berning Committed by Facebook GitHub Bot

fix flaky test

Summary: AsyncSocketSendmmsgIntegrationTest.PingPongRequest fails during stress runs with multiple jobs due to the 5ms timeout in `UDPClient::sendPing()`. Increasing the timeout fixes the issue.

Reviewed By: yfeldblum

Differential Revision: D29623870

fbshipit-source-id: ad6ee0356001fbded9ce01ddc099b708d1477899
parent bc0818f8
...@@ -217,7 +217,7 @@ class UDPClient : private AsyncUDPSocket::ReadCallback, private AsyncTimeout { ...@@ -217,7 +217,7 @@ class UDPClient : private AsyncUDPSocket::ReadCallback, private AsyncTimeout {
} }
void sendPing() { void sendPing() {
scheduleTimeout(5); scheduleTimeout(50);
auto bufs = testData_.getInBufs(); auto bufs = testData_.getInBufs();
writePing(bufs); writePing(bufs);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment