Add 1.7 to travis and reduce number of connections in TestLen.

This commit is contained in:
Ola Holmström
2017-01-20 23:28:12 +01:00
parent 31f0503a61
commit e39e1207dd
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -4,6 +4,7 @@ go:
- 1.4
- 1.5
- 1.6
- 1.7
install:
- go get github.com/gorilla/websocket
script:
+1 -1
View File
@@ -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() {