mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 06:47:41 +03:00
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:
parent
6dd34a5b26
commit
f4e7e65f3e
@ -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);
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user