1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 08:52:55 +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
parent a4bc5a8fc9
commit 1c1ee22aa7
No known key found for this signature in database

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}";