Allow NetworkHandler.State.LOADING in SelectorRecoveryTest

This commit is contained in:
Him188 2021-08-26 08:01:35 +08:00
parent 994893605d
commit 7358d00bcf

View File

@ -40,7 +40,7 @@ internal class SelectorRecoveryTest : AbstractNettyNHTestWithSelector() {
testRecoverWhenHeartbeatFailWith { IOException("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)
}
/**