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:
Anton Kaliaev 2017-09-27 15:44:19 +04:00
parent 925696ca65
commit f9479b34cb
No known key found for this signature in database
GPG Key ID: 7B6881D965918214

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 {