bump up the timeout in one of the UnixSocket tests

Summary:
This timeout appears to be too short for the last step of the test that sends
32MB of data in multiple send calls of no more than 1000 bytes each.  On
stress test runs this timeout has occasionally been firing and causing the
test to fail.

Reviewed By: chadaustin

Differential Revision: D15221306

fbshipit-source-id: d1f7ed2d58b47512a8f31f8324c61372394a6709
This commit is contained in:
Adam Simpkins 2019-05-06 15:57:11 -07:00 committed by Facebook Github Bot
parent 6dd34a5b26
commit f4e7e65f3e

View File

@ -137,7 +137,7 @@ void testSendDataAndFiles(DataSize dataSize, size_t numFiles) {
});
std::optional<UnixSocket::Message> receivedMessage;
socket2->receive(500ms)
socket2->receive(2s)
.thenValue([&receivedMessage](UnixSocket::Message&& msg) {
receivedMessage = std::move(msg);
})