fix Enet_test attempt
This commit is contained in:
@@ -17,7 +17,7 @@ int main() {
|
|||||||
blitz::network::EnetClient client3(Nz::IpAddress{"127.0.0.1:" + std::to_string(port)});
|
blitz::network::EnetClient client3(Nz::IpAddress{"127.0.0.1:" + std::to_string(port)});
|
||||||
blitz::network::EnetClient client4(Nz::IpAddress{"127.0.0.1:" + std::to_string(port)});
|
blitz::network::EnetClient client4(Nz::IpAddress{"127.0.0.1:" + std::to_string(port)});
|
||||||
|
|
||||||
std::this_thread::sleep_for(200ms);
|
std::this_thread::sleep_for(1s);
|
||||||
|
|
||||||
blitz_test_assert(client.GetConnection().IsConnected());
|
blitz_test_assert(client.GetConnection().IsConnected());
|
||||||
|
|
||||||
@@ -35,7 +35,7 @@ int main() {
|
|||||||
clientSendCount++;
|
clientSendCount++;
|
||||||
});
|
});
|
||||||
|
|
||||||
std::this_thread::sleep_for(200ms);
|
std::this_thread::sleep_for(1s);
|
||||||
|
|
||||||
client.GetConnection().SendKeepAlive({69});
|
client.GetConnection().SendKeepAlive({69});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user