mirror of
https://github.com/ppy/osu
synced 2024-12-26 17:02:59 +00:00
Fix IPCLocationTest
not waiting for load of component
As seen at https://github.com/ppy/osu/runs/4731480384?check_suite_focus=true.
This commit is contained in:
parent
bf328dc9e0
commit
12c3e56881
@ -36,7 +36,7 @@ namespace osu.Game.Tournament.Tests.NonVisual
|
||||
TournamentStorage storage = (TournamentStorage)osu.Dependencies.Get<Storage>();
|
||||
FileBasedIPC ipc = null;
|
||||
|
||||
WaitForOrAssert(() => (ipc = osu.Dependencies.Get<MatchIPCInfo>() as FileBasedIPC) != null, @"ipc could not be populated in a reasonable amount of time");
|
||||
WaitForOrAssert(() => (ipc = osu.Dependencies.Get<MatchIPCInfo>() as FileBasedIPC)?.IsLoaded == true, @"ipc could not be populated in a reasonable amount of time");
|
||||
|
||||
Assert.True(ipc.SetIPCLocation(testStableInstallDirectory));
|
||||
Assert.True(storage.AllTournaments.Exists("stable.json"));
|
||||
|
Loading…
Reference in New Issue
Block a user