Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
go-libp2p
Commits
dff9366e
Commit
dff9366e
authored
Jul 19, 2015
by
Jeromy
Browse files
make timing tests actually not run under CI
License: MIT Signed-off-by:
Jeromy
<
jeromyj@gmail.com
>
parent
034d422d
Changes
1
Hide whitespace changes
Inline
Side-by-side
net/swarm/dial_test.go
View file @
dff9366e
...
...
@@ -11,8 +11,6 @@ import (
testutil
"github.com/ipfs/go-ipfs/util/testutil"
ci
"github.com/ipfs/go-ipfs/util/testutil/ci"
jenkins
"github.com/ipfs/go-ipfs/util/testutil/ci/jenkins"
travis
"github.com/ipfs/go-ipfs/util/testutil/ci/travis"
ma
"github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-multiaddr"
manet
"github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-multiaddr-net"
...
...
@@ -117,7 +115,7 @@ func TestDialWait(t *testing.T) {
defer
s1
.
Close
()
s1
.
dialT
=
time
.
Millisecond
*
300
// lower timeout for tests.
if
travis
.
IsRunning
()
{
if
ci
.
IsRunning
()
{
s1
.
dialT
=
time
.
Second
}
...
...
@@ -151,7 +149,7 @@ func TestDialWait(t *testing.T) {
func
TestDialBackoff
(
t
*
testing
.
T
)
{
// t.Skip("skipping for another test")
if
travis
.
IsRunning
()
||
jenkins
.
IsRunning
()
{
if
ci
.
IsRunning
()
{
t
.
Skip
(
"travis and jenkins will never have fun with this test"
)
}
...
...
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