1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-23 06:23:47 +08:00

wait for IPC to be populated in the test

Did not see this when locally running test until after a couple of subsequent runs.
This commit is contained in:
Shivam
2021-03-29 16:16:50 +02:00
Unverified
parent 6c5a10a744
commit 2d344ae6ff
@@ -38,6 +38,8 @@ namespace osu.Game.Tournament.Tests.NonVisual
TournamentStorage storage = (TournamentStorage)osu.Dependencies.Get<Storage>();
FileBasedIPC ipc = (FileBasedIPC)osu.Dependencies.Get<MatchIPCInfo>();
waitForOrAssert(() => ipc != null, @"ipc could not be populated in a reasonable amount of time");
Assert.True(ipc.SetIPCLocation(testCeDir));
Assert.True(storage.AllTournaments.Exists("stable.json"));
}