Allow NetworkHandler.State.LOADING in SelectorRecoveryTest

This commit is contained in:
Him188 2021-08-17 20:24:06 +08:00
parent a34c11f239
commit 98bca6ae44

View File

@ -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