Browse Source

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
pull/694/merge
Anton Kaliaev 7 years ago
parent
commit
f9479b34cb
No known key found for this signature in database GPG Key ID: 7B6881D965918214
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      rpc/lib/rpc_test.go

+ 1
- 1
rpc/lib/rpc_test.go View File

@ -362,7 +362,7 @@ func TestWSClientPingPong(t *testing.T) {
require.Nil(t, err)
defer cl.Stop()
time.Sleep(3 * time.Second)
time.Sleep(6 * time.Second)
}
func randBytes(t *testing.T) []byte {


Loading…
Cancel
Save