This commit is contained in:
AnduinXue
2024-04-06 08:44:09 +00:00
parent 891a2438e1
commit ce5956ef43
@@ -79,11 +79,14 @@ public class BasicTests
while (string.IsNullOrWhiteSpace(socketStage.Stage))
{
await Task.Delay(150);
Assert.IsTrue(!string.IsNullOrWhiteSpace(socketStage.Stage));
if (!string.IsNullOrWhiteSpace(socketStage.Stage))
{
break;
}
if (waitMaxTime.ElapsedMilliseconds > 5000)
{
Assert.Fail("Timeout!");
Assert.Fail("Timeout that the server did not respond.");
}
}