mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 15:47:26 +08:00
Add test coverage of calling BlockAllOperations
a second time after timeout
This commit is contained in:
parent
9ad4d66e4d
commit
8116806db3
@ -95,6 +95,11 @@ namespace osu.Game.Tests.Database
|
|||||||
});
|
});
|
||||||
|
|
||||||
stopThreadedUsage.Set();
|
stopThreadedUsage.Set();
|
||||||
|
|
||||||
|
// Ensure we can block a second time after the usage has ended.
|
||||||
|
using (realm.BlockAllOperations())
|
||||||
|
{
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user