Add 1.7 to travis and reduce number of connections in TestLen.
This commit is contained in:
@@ -4,6 +4,7 @@ go:
|
||||
- 1.4
|
||||
- 1.5
|
||||
- 1.6
|
||||
- 1.7
|
||||
install:
|
||||
- go get github.com/gorilla/websocket
|
||||
script:
|
||||
|
||||
+1
-1
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user