mirror of
https://github.com/ppy/osu
synced 2025-03-03 01:49:46 +00: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:
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"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user