UnitTests/TCPTest: Give more time to test packet sending
This commit is contained in:
parent
5130a2ff84
commit
50ce9a4ea8
|
|
@ -46,7 +46,7 @@ SCENARIO("TCP", "[NETWORK][TCP]")
|
||||||
packet << vector123;
|
packet << vector123;
|
||||||
REQUIRE(client.SendPacket(packet));
|
REQUIRE(client.SendPacket(packet));
|
||||||
|
|
||||||
std::this_thread::yield();
|
std::this_thread::sleep_for(std::chrono::milliseconds(10));
|
||||||
|
|
||||||
THEN("We should get it on the server")
|
THEN("We should get it on the server")
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue