Browse Source

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

master
Ola Holmström 8 years ago
parent
commit
e39e1207dd
  1. 1
      .travis.yml
  2. 2
      melody_test.go

1
.travis.yml

@ -4,6 +4,7 @@ go:
- 1.4
- 1.5
- 1.6
- 1.7
install:
- go get github.com/gorilla/websocket
script:

2
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() {

Loading…
Cancel
Save