Commit 6959b4f0 authored by Juan Batiz-Benet's avatar Juan Batiz-Benet

p2p/net/swarm: fix travis env flag val

the travis docs say the env flag TRAVIS=true but, i want
to make absolutely sure. explicitness leaves less room for
error.
parent 920ddc7f
......@@ -6,6 +6,6 @@ go:
- tip
script:
- make test
- TRAVES=true make test
env: TEST_NO_FUSE=1 TEST_VERBOSE=1
......@@ -114,7 +114,7 @@ func TestDialWait(t *testing.T) {
defer s1.Close()
s1.dialT = time.Millisecond * 300 // lower timeout for tests.
if os.Getenv("TRAVIS") == "1" {
if os.Getenv("TRAVIS") == "true" {
s1.dialT = time.Second
}
......@@ -148,7 +148,7 @@ func TestDialWait(t *testing.T) {
func TestDialBackoff(t *testing.T) {
// t.Skip("skipping for another test")
if os.Getenv("TRAVIS") == "1" {
if os.Getenv("TRAVIS") == "true" {
t.Skip("travis will never have fun with this test")
}
......@@ -375,7 +375,7 @@ func TestDialBackoffClears(t *testing.T) {
defer s2.Close()
s1.dialT = time.Millisecond * 300 // lower timeout for tests.
s2.dialT = time.Millisecond * 300 // lower timeout for tests.
if os.Getenv("TRAVIS") == "1" {
if os.Getenv("TRAVIS") == "true" {
s1.dialT = time.Second
s2.dialT = time.Second
}
......
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