mirror of https://github.com/ppy/osu
Attempt to fix test failures on windows due to context being held open
This commit is contained in:
parent
a89954d67f
commit
c9db0181d0
|
@ -47,6 +47,11 @@ public void TestAccessAfterStorageMigrate()
|
|||
liveBeatmap = beatmap.ToLive(realmFactory);
|
||||
});
|
||||
|
||||
using (realmFactory.BlockAllOperations())
|
||||
{
|
||||
// recycle realm before migrating
|
||||
}
|
||||
|
||||
using (var migratedStorage = new TemporaryNativeStorage("realm-test-migration-target"))
|
||||
{
|
||||
migratedStorage.DeleteDirectory(string.Empty);
|
||||
|
|
Loading…
Reference in New Issue