Add timeout for all ManualResetEventSlim.Wait invocations

Timeout values were taken as best-guesses of upper values we'd expect
from sane execution.
This commit is contained in:
Dean Herbert
2022-06-23 14:33:20 +09:00
parent ed9c55a776
commit 7ef8b7df5f
6 changed files with 9 additions and 8 deletions

View File

@ -46,7 +46,7 @@ namespace osu.Game.Tests.Visual.Multiplayer
{
Task.Run(() =>
{
allowResponseCallback.Wait();
allowResponseCallback.Wait(10000);
allowResponseCallback.Reset();
Schedule(() => d?.Invoke("Incorrect password"));
});