1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 23:05:37 +08:00

Merge pull request #2030 from smoogipoo/fix-import-tests

Make sure the import tests exit their hosts
This commit is contained in:
Dan Balasescu 2018-02-08 14:28:52 +09:00 committed by GitHub
commit 998acc5150
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

@ -1 +1 @@
Subproject commit 1440ae8538560b3c40883ec51ab39108d6a69e3b
Subproject commit eba12eb4a0fa6238873dd266deb35bfdece21a6a

View File

@ -37,6 +37,8 @@ namespace osu.Game.Tests.Beatmaps.IO
ensureLoaded(osu);
waitForOrAssert(() => !File.Exists(temp), "Temporary file still exists after standard import", 5000);
host.Exit();
}
}
@ -64,6 +66,8 @@ namespace osu.Game.Tests.Beatmaps.IO
ensureLoaded(osu);
waitForOrAssert(() => !File.Exists(temp), "Temporary still exists after IPC import", 5000);
host.Exit();
}
}
@ -86,6 +90,8 @@ namespace osu.Game.Tests.Beatmaps.IO
File.Delete(temp);
Assert.IsFalse(File.Exists(temp), "We likely held a read lock on the file when we shouldn't");
host.Exit();
}
}