diff --git a/.travis.yml b/.travis.yml index c0fb05a..f39e406 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ go: - 1.4 - 1.5 - 1.6 +- 1.7 install: - go get github.com/gorilla/websocket script: diff --git a/melody_test.go b/melody_test.go index 7a68527..fb31d2d 100644 --- a/melody_test.go +++ b/melody_test.go @@ -83,7 +83,7 @@ func TestEcho(t *testing.T) { func TestLen(t *testing.T) { rand.Seed(time.Now().UnixNano()) - connect := int(rand.Int31n(1000)) + connect := int(rand.Int31n(100)) disconnect := rand.Float32() conns := make([]*websocket.Conn, connect) defer func() {