From 1cf4fe1a5d60abd123d48104ef2ede4ba2e85273 Mon Sep 17 00:00:00 2001 From: Matt Morley Date: Sat, 21 Sep 2024 20:08:15 -0700 Subject: [PATCH] oops --- photon-targeting/src/test/native/cpp/net/TimeSyncTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/photon-targeting/src/test/native/cpp/net/TimeSyncTest.cpp b/photon-targeting/src/test/native/cpp/net/TimeSyncTest.cpp index e85c63bbcc..0a59add840 100644 --- a/photon-targeting/src/test/native/cpp/net/TimeSyncTest.cpp +++ b/photon-targeting/src/test/native/cpp/net/TimeSyncTest.cpp @@ -29,7 +29,7 @@ TEST(TimeSyncProtocolTest, TestClient) { server.Start(); - while (true) { + for (int i = 0; i < 10; i++) { std::this_thread::sleep_for(1000ms); // busywait }