mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 06:42:16 +00:00
sleep time should be greater than readTimeout (5 sec)
otherwise, we're not testing ping/pongs. see https://github.com/tendermint/tendermint/pull/687#issuecomment-332494735
This commit is contained in:
parent
925696ca65
commit
f9479b34cb
@ -362,7 +362,7 @@ func TestWSClientPingPong(t *testing.T) {
|
|||||||
require.Nil(t, err)
|
require.Nil(t, err)
|
||||||
defer cl.Stop()
|
defer cl.Stop()
|
||||||
|
|
||||||
time.Sleep(3 * time.Second)
|
time.Sleep(6 * time.Second)
|
||||||
}
|
}
|
||||||
|
|
||||||
func randBytes(t *testing.T) []byte {
|
func randBytes(t *testing.T) []byte {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user