1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-12 01:07:25 +08:00
osu-lazer/osu.Game.Tests/Visual
Dan Balasescu 10bd7176e0 Fix potential test failure in TestSceneMultiplayerReadyButton
Couldn't exactly reproduce https://github.com/ppy/osu/runs/4294316800,
but I found a similar issue via:

```diff
diff --git a/osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerReadyButton.cs b/osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerReadyButton.cs
index 84b63a5733..29cac9b061 100644
--- a/osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerReadyButton.cs
+++ b/osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerReadyButton.cs
@@ -3,6 +3,7 @@

 using System;
 using System.Linq;
+using System.Threading;
 using System.Threading.Tasks;
 using NUnit.Framework;
 using osu.Framework.Allocation;
@@ -81,6 +82,8 @@ private void load(GameHost host, AudioManager audio)

                         await Client.ToggleReady();

+                        Thread.Sleep(1000);
+
                         readyClickOperation.Dispose();
                     });
                 }
```
2021-11-23 14:07:55 +09:00
..
Audio Fix AudioFilter test not stopping track on forced exit 2021-10-14 12:55:02 +09:00
Background Fix potential null reference in FadeAccessibleBackground test class 2021-11-19 14:03:07 +09:00
Beatmaps Use BindTarget from card rather than caching & resolving download tracker 2021-11-20 18:48:26 +01:00
Collections Provide game-wide resources via IStorageResourceProvider 2021-05-31 18:57:47 +09:00
Colours Add visual test scene 2021-08-03 15:02:18 +03:00
Components Rewrite PreviewTrackManager to avoid constructing TrackBass locally 2021-11-09 17:38:12 +09:00
Editing Update all simple cases of switching to IWorkingBeatmap 2021-11-17 20:56:57 +09:00
Gameplay Remove subclassing of RulesetInfo 2021-11-22 16:39:17 +09:00
Menus Update all simple cases of switching to IWorkingBeatmap 2021-11-17 20:56:57 +09:00
Mods Add testing for auto-restart behaviour 2021-08-15 15:04:14 +02:00
Multiplayer Fix potential test failure in TestSceneMultiplayerReadyButton 2021-11-23 14:07:55 +09:00
Navigation Update all simple cases of switching to IWorkingBeatmap 2021-11-17 20:56:57 +09:00
Online Rename BeatmapSetInfo.OnlineBeatmapSetID to OnlineID to match interface 2021-11-12 17:52:44 +09:00
Playlists Add tests and disable selection on invalid items 2021-11-16 17:23:52 +09:00
Ranking Rename BeatmapInfo.OnlineBeatmapID to OnlineID to match interface 2021-11-12 17:46:24 +09:00
Settings Add visual test for SettingsNumberBox usage in settings source context 2021-10-28 15:42:06 +09:00
SongSelect Use Equals in carousel tests for better realm compatibility 2021-11-22 17:20:21 +09:00
UserInterface Remove subclassing of RulesetInfo 2021-11-22 16:39:17 +09:00
TestMultiplayerScreenStack.cs Remove unused using statement 2021-10-28 15:14:29 +09:00
TestSceneOsuScreenStack.cs Move MusicController adjustment set to inside OsuScreen itself (and result nullable) 2021-09-16 16:08:09 +09:00