1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-03 15:04:26 +08:00

Add retry attempts to hopefully fix windows tests runs

This commit is contained in:
Dean Herbert
2024-04-29 10:36:49 +08:00
Unverified
parent a4bc5a8fc9
commit 1c1ee22aa7
+5 -2
View File
@@ -311,9 +311,12 @@ namespace osu.Game.Database
{
// If this fails we allow it to block game startup.
// It's better than any alternative we can offer.
using (var _ = storage.GetStream(Filename, FileAccess.ReadWrite))
FileUtils.AttemptOperation(() =>
{
}
using (var _ = storage.GetStream(Filename, FileAccess.ReadWrite))
{
}
});
}
string newerVersionFilename = $"{Filename.Replace(realm_extension, string.Empty)}_newer_version{realm_extension}";