mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-27 03:31:42 +00:00
[tm-monitor] fix TestNodeConnectionLost test
This commit is contained in:
@ -68,10 +68,7 @@ func TestNodeConnectionLost(t *testing.T) {
|
||||
emMock.Call("disconnectCallback")
|
||||
|
||||
assert.Equal(true, <-disconnectCh)
|
||||
assert.Equal(false, <-disconnectCh)
|
||||
|
||||
// we're back in a race
|
||||
assert.Equal(true, n.Online)
|
||||
assert.Equal(false, n.Online)
|
||||
}
|
||||
|
||||
func TestNumValidators(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user