mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-21 07:56:56 +08:00
Allow NetworkHandler.State.LOADING
in SelectorRecoveryTest
This commit is contained in:
parent
a34c11f239
commit
98bca6ae44
@ -53,7 +53,7 @@ internal class SelectorRecoveryTest : AbstractNettyNHTestWithSelector() {
|
||||
testRecoverWhenHeartbeatFailWith { NettyChannelException("test IO ex") }
|
||||
|
||||
// BotOfflineMonitor immediately launches a recovery which is UNDISPATCHED, so connection is immediately recovered.
|
||||
assertState(NetworkHandler.State.CONNECTING, NetworkHandler.State.OK)
|
||||
assertState(NetworkHandler.State.CONNECTING, NetworkHandler.State.LOADING, NetworkHandler.State.OK)
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
Reference in New Issue
Block a user