Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-unixfs
Commits
66503701
Commit
66503701
authored
Jan 24, 2015
by
Juan Batiz-Benet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dht: TestConnectCollision skip in Travis
+ longer timeout
parent
8037235c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
routing/dht/dht_test.go
routing/dht/dht_test.go
+6
-1
No files found.
routing/dht/dht_test.go
View file @
66503701
...
...
@@ -19,7 +19,9 @@ import (
netutil
"github.com/jbenet/go-ipfs/p2p/test/util"
routing
"github.com/jbenet/go-ipfs/routing"
u
"github.com/jbenet/go-ipfs/util"
ci
"github.com/jbenet/go-ipfs/util/testutil/ci"
travisci
"github.com/jbenet/go-ipfs/util/testutil/ci/travis"
)
var
testCaseValues
=
map
[
u
.
Key
][]
byte
{}
...
...
@@ -738,6 +740,9 @@ func TestConnectCollision(t *testing.T) {
if
testing
.
Short
()
{
t
.
SkipNow
()
}
if
travisci
.
IsRunning
()
{
t
.
Skip
(
"Skipping on Travis-CI."
)
}
runTimes
:=
10
...
...
@@ -767,7 +772,7 @@ func TestConnectCollision(t *testing.T) {
errs
<-
err
}()
timeout
:=
time
.
After
(
time
.
Second
)
timeout
:=
time
.
After
(
5
*
time
.
Second
)
select
{
case
e
:=
<-
errs
:
if
e
!=
nil
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment