mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-21 07:56:07 +08:00
Allow NetworkHandler.State.LOADING
in SelectorRecoveryTest
This commit is contained in:
parent
994893605d
commit
7358d00bcf
@ -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)
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user