Merge pull request #28898 from frenzibyte/fix-argon-health-display-tests

Fix intermittent test failure in `TestSceneArgonHealthDisplay`
This commit is contained in:
Dan Balasescu 2024-07-18 14:11:54 +09:00 committed by GitHub
commit 3a1c05337d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -99,6 +99,7 @@ public void TestLateMissAfterConsequentMisses()
Scheduler.AddDelayed(applyMiss, 500 + 30); Scheduler.AddDelayed(applyMiss, 500 + 30);
}); });
AddUntilStep("wait for sequence", () => !Scheduler.HasPendingTasks);
} }
[Test] [Test]
@ -120,6 +121,7 @@ public void TestMissAlmostExactlyAfterLastMissAnimation()
} }
} }
}); });
AddUntilStep("wait for sequence", () => !Scheduler.HasPendingTasks);
} }
[Test] [Test]