mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-21 05:05:44 +00:00
Add an optional timeout to Socket::AcceptClient
* This is needed since sometimes on tests a localhost socket won't immediately be available to accept()
This commit is contained in:
@@ -115,7 +115,7 @@ TEST_CASE("Test stream I/O operations over the network", "[streamio][network]")
|
||||
|
||||
REQUIRE(sender);
|
||||
|
||||
Network::Socket *receiver = server->AcceptClient(false);
|
||||
Network::Socket *receiver = server->AcceptClient(50);
|
||||
|
||||
REQUIRE(receiver);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user