mirror of https://github.com/ppy/osu
Fix intermittent test failure
This commit is contained in:
parent
1e23f671fa
commit
70cd018a98
|
@ -93,7 +93,7 @@ public void TestCreatedRoom()
|
|||
InputManager.Click(MouseButton.Left);
|
||||
});
|
||||
|
||||
AddWaitStep("wait", 10);
|
||||
AddUntilStep("wait for join", () => Client.Room != null);
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
@ -114,6 +114,8 @@ public void TestStartMatchWhileSpectating()
|
|||
InputManager.Click(MouseButton.Left);
|
||||
});
|
||||
|
||||
AddUntilStep("wait for room join", () => Client.Room != null);
|
||||
|
||||
AddStep("join other user (ready)", () =>
|
||||
{
|
||||
Client.AddUser(new User { Id = 55 });
|
||||
|
|
Loading…
Reference in New Issue