Commit e123a79f authored by Jeromy's avatar Jeromy
Browse files

make test smaller for osx

parent d3a90434
No related merge requests found
Showing with 4 additions and 0 deletions
+4 -0
......@@ -5,6 +5,7 @@ import (
"fmt"
"io"
"net"
"runtime"
"strings"
"sync"
"testing"
......@@ -464,6 +465,9 @@ func TestConcurrentAccept(t *testing.T) {
n := 300
delay := time.Millisecond * 20
if runtime.GOOS == "darwin" {
n = 100
}
p1.Addr = l1.Multiaddr() // Addr has been determined by kernel.
......
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