1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 18:13:00 +08:00

Merge pull request #12342 from smoogipoo/fix-test-failure

Fix intermittent test failure
This commit is contained in:
Dan Balasescu 2021-04-08 22:23:37 +09:00 committed by GitHub
commit 0f38436aaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -93,7 +93,7 @@ namespace osu.Game.Tests.Visual.Multiplayer
InputManager.Click(MouseButton.Left);
});
AddWaitStep("wait", 10);
AddUntilStep("wait for join", () => Client.Room != null);
}
[Test]
@ -114,6 +114,8 @@ namespace osu.Game.Tests.Visual.Multiplayer
InputManager.Click(MouseButton.Left);
});
AddUntilStep("wait for room join", () => Client.Room != null);
AddStep("join other user (ready)", () =>
{
Client.AddUser(new User { Id = 55 });