Commit 39e858b0 authored by Juan Batiz-Benet's avatar Juan Batiz-Benet
Browse files

swarm: TestSimultOpenMany has problems in CI.

dialing 4000 connections somehow keeps choking both travis and
jenkins. dialing this down to 500
parent bb57cf77
......@@ -6,6 +6,7 @@ import (
"time"
peer "github.com/jbenet/go-ipfs/p2p/peer"
ci "github.com/jbenet/go-ipfs/util/testutil/ci"
context "github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/go.net/context"
ma "github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-multiaddr"
......@@ -45,10 +46,14 @@ func TestSimultOpen(t *testing.T) {
func TestSimultOpenMany(t *testing.T) {
// t.Skip("very very slow")
t.Parallel()
addrs := 20
SubtestSwarm(t, addrs, 10)
rounds := 10
if ci.IsRunning() {
addrs = 10
rounds = 5
}
SubtestSwarm(t, addrs, rounds)
}
func TestSimultOpenFewStress(t *testing.T) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment