mirror of
https://github.com/ppy/osu.git
synced 2025-02-16 12:23:06 +08:00
Merge pull request #22163 from frenzibyte/fix-intermittent-channel-test-failure
Fix intermittent failure in silenced user messages test
This commit is contained in:
commit
73189e49ab
@ -75,6 +75,8 @@ namespace osu.Game.Tests.Chat
|
|||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
AddUntilStep("wait for notifications client", () => channelManager.NotificationsConnected);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
@ -64,6 +64,11 @@ namespace osu.Game.Online.Chat
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public IBindableList<Channel> AvailableChannels => availableChannels;
|
public IBindableList<Channel> AvailableChannels => availableChannels;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Whether the client responsible for channel notifications is connected.
|
||||||
|
/// </summary>
|
||||||
|
public bool NotificationsConnected => connector.IsConnected.Value;
|
||||||
|
|
||||||
private readonly IAPIProvider api;
|
private readonly IAPIProvider api;
|
||||||
private readonly NotificationsClientConnector connector;
|
private readonly NotificationsClientConnector connector;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user