1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 00:53:22 +08:00
osu-lazer/osu.Game
Dean Herbert 1a22377e19 Fix test deadlock due to TPL threadpool saturation
As found in aggressive CI runs:

```csharp
00007F6F527F32B0 00007f74f937c72d (MethodDesc 00007f74f5545a78 + 0x22d System.Threading.ManualResetEventSlim.Wait(Int32, System.Threading.CancellationToken)), calling (MethodDesc 00007f74f51c0838 + 0 System.Threading.Monitor.Wait(System.Object, Int32))
00007F6F527F3330 00007f74f93861ca (MethodDesc 00007f74f5259100 + 0x10a System.Threading.Tasks.Task.SpinThenBlockingWait(Int32, System.Threading.CancellationToken)), calling (MethodDesc 00007f74f5545a78 + 0 System.Threading.ManualResetEventSlim.Wait(Int32, System.Threading.CancellationToken))
00007F6F527F3390 00007f74f9385d11 (MethodDesc 00007f74f52590e8 + 0x81 System.Threading.Tasks.Task.InternalWaitCore(Int32, System.Threading.CancellationToken)), calling (MethodDesc 00007f74f5259100 + 0 System.Threading.Tasks.Task.SpinThenBlockingWait(Int32, System.Threading.CancellationToken))
00007F6F527F33E0 00007f74fc3823af (MethodDesc 00007f74f5934c08 + 0x4f System.Threading.Tasks.Task`1[[System.Boolean, System.Private.CoreLib]].GetResultCore(Boolean)), calling (MethodDesc 00007f74f52590e8 + 0 System.Threading.Tasks.Task.InternalWaitCore(Int32, System.Threading.CancellationToken))
00007F6F527F3400 00007f74fb0aad92 (MethodDesc 00007f74fb28b000 + 0x122 osu.Game.Tests.Visual.OnlinePlay.OnlinePlayTestScene+<>c__DisplayClass21_0.<Setup>b__1(osu.Game.Online.API.APIRequest)), calling (MethodDesc 00007f74f5934be8 + 0 System.Threading.Tasks.Task`1[[System.Boolean, System.Private.CoreLib]].get_Result())
00007F6F527F3470 00007f74fa9c6dd7 (MethodDesc 00007f74f921f6c8 + 0x77 osu.Game.Online.API.DummyAPIAccess.PerformAsync(osu.Game.Online.API.APIRequest))
00007F6F527F34C0 00007f74fb13c718 (MethodDesc 00007f74fb4e0c50 + 0x538 osu.Game.Database.OnlineLookupCache`3+<performLookup>d__13[[System.Int32, System.Private.CoreLib],[System.__Canon, System.Private.CoreLib],[System.__Canon, System.Private.CoreLib]].MoveNext())
```

Going with the simplest solution, as what we had was pretty ugly to start with and I don't want to overthink this, just push a fix and hope for the best.
2022-06-26 16:42:29 +09:00
..
Audio Automated #nullable processing 2022-06-17 16:37:17 +09:00
Beatmaps Update parameter discards 2022-06-24 21:26:19 +09:00
Collections Update parameter discards 2022-06-24 21:26:19 +09:00
Configuration Add setting for changing mod select hotkey style 2022-06-21 13:33:17 +02:00
Database Update parameter discards 2022-06-24 21:26:19 +09:00
Extensions Update parameter discards 2022-06-24 21:26:19 +09:00
Graphics Update parameter discards 2022-06-24 21:26:19 +09:00
Input Update parameter discards 2022-06-24 21:26:19 +09:00
IO Automated #nullable processing 2022-06-17 16:37:17 +09:00
IPC Handle osu:// scheme links via IPC in desktop game 2022-06-20 21:26:22 +02:00
Localisation Add setting for changing mod select hotkey style 2022-06-21 13:33:17 +02:00
Migrations Automated #nullable processing 2022-06-17 16:37:17 +09:00
Models Automated #nullable processing 2022-06-17 16:37:17 +09:00
Online Update parameter discards 2022-06-24 21:26:19 +09:00
Overlays Update parameter discards 2022-06-24 21:26:19 +09:00
Performance Automated #nullable processing 2022-06-17 16:37:17 +09:00
Properties Automated #nullable processing 2022-06-17 16:37:17 +09:00
Replays Automated #nullable processing 2022-06-17 16:37:17 +09:00
Rulesets Update parameter discards 2022-06-24 21:26:19 +09:00
Scoring Merge branch 'master' into importer-post-import-rename 2022-06-20 13:37:16 +02:00
Screens Update parameter discards 2022-06-24 21:26:19 +09:00
Skinning Update parameter discards 2022-06-24 21:26:19 +09:00
Storyboards Update parameter discards 2022-06-24 21:26:19 +09:00
Tests Fix test deadlock due to TPL threadpool saturation 2022-06-26 16:42:29 +09:00
Updater Automated #nullable processing 2022-06-17 16:37:17 +09:00
Users Automated #nullable processing 2022-06-17 16:37:17 +09:00
Utils Automated #nullable processing 2022-06-17 16:37:17 +09:00
.editorconfig Add localisation length hinting 2022-04-28 19:26:28 +09:00
osu!.res
osu.Game.csproj Update framework again 2022-06-24 16:01:52 +02:00
OsuGame.cs Add and use ILinkHandler interface 2022-06-20 20:04:21 +02:00
OsuGameBase_Importing.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
OsuGameBase.cs Fix compile failures from framework breaking change 2022-06-24 16:07:14 +02:00
PerformFromMenuRunner.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00