1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 13:27:23 +08:00
osu-lazer/osu.Game.Tests
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 Move visual test to correct namespace 2021-09-30 15:19:15 +09:00
Beatmaps Merge branch 'master' into fix-working-beatmap-wrong-exception-type 2021-11-21 15:50:07 +09:00
Chat Rename User to APIUser and move to correct namespace 2021-11-07 11:26:01 +09:00
Collections/IO Update scenarios to use new TestRunHeadlessGameHost where feasible 2021-08-18 16:01:56 +09:00
Database Add helper property to access a realm beatmap's beatmap file 2021-11-22 15:30:11 +09:00
Editing Refactor to avoid duplicate code 2021-11-10 06:18:40 +01:00
Gameplay Remove SkinConfiguration subclasses and allow configuration parsing for all skin types 2021-10-22 14:42:23 +09:00
Input Fix TestSettingsMigration's usage of RecycleLocalStorage 2021-08-18 16:39:10 +09:00
Localisation Move common interface implementations to extension methods 2021-10-05 14:41:14 +09:00
Models Add fallback case for GetDisplayString if called on a null reference 2021-11-12 16:02:51 +09:00
Mods Update DifficultyCalculator to take an IWorkingBeatmap 2021-11-15 19:16:48 +09:00
NonVisual Update tests to match new equality not including online ID checks 2021-11-15 14:43:43 +09:00
Online Update DifficultyCalculator to take an IWorkingBeatmap 2021-11-15 19:16:48 +09:00
OnlinePlay Rename User to APIUser and move to correct namespace 2021-11-07 11:26:01 +09:00
Resources Apply batch fixing of built-in types using var 2021-10-27 13:04:41 +09:00
Rulesets Adjust test values 2021-09-02 17:01:09 +09:00
Scores/IO Rename User to APIUser and move to correct namespace 2021-11-07 11:26:01 +09:00
ScrollAlgorithms Add test cases for sequential scroll algorithm 2020-05-21 21:56:59 +02:00
Skins Update all simple cases of switching to IWorkingBeatmap 2021-11-17 20:56:57 +09:00
Testing Update DifficultyCalculator to take an IWorkingBeatmap 2021-11-15 19:16:48 +09:00
Visual Fix potential test failure in TestSceneMultiplayerReadyButton 2021-11-23 14:07:55 +09:00
ImportTest.cs Fix GameHosts being run on TPL threads 2021-10-12 17:13:36 +09:00
osu.Game.Tests.csproj Update all dependencies 2021-11-20 13:31:10 +09:00
tests.ruleset Exclude tests from ConfigureAwait rule 2021-03-08 14:36:35 +09:00
WaveformTestBeatmap.cs Retrieve separated skin instance from working beatmap for editing 2021-08-15 21:18:09 +02:00