Attempt to fix failing beatmap import test case

This commit is contained in:
Thomas Müller
2017-02-25 08:31:29 +01:00
parent 9067907789
commit 6a67ffa5b3

View File

@ -59,7 +59,7 @@ namespace osu.Game.Tests.Beatmaps.IO
if (!importer.ImportAsync(osz_path).Wait(1000)) if (!importer.ImportAsync(osz_path).Wait(1000))
Assert.Fail(@"IPC took too long to send"); Assert.Fail(@"IPC took too long to send");
ensureLoaded(osu, 10000); ensureLoaded(osu);
} }
} }
@ -77,7 +77,7 @@ namespace osu.Game.Tests.Beatmaps.IO
return osu; return osu;
} }
private void ensureLoaded(OsuGameBase osu, int timeout = 100) private void ensureLoaded(OsuGameBase osu, int timeout = 10000)
{ {
IEnumerable<BeatmapSetInfo> resultSets = null; IEnumerable<BeatmapSetInfo> resultSets = null;