Skip to content

Commit

Permalink
travis just doesn't support >10m builds anymore. Dropping torture ite…
Browse files Browse the repository at this point in the history
…rations and removing other attempts.
  • Loading branch information
Knetic committed Feb 24, 2017
1 parent 9fa07c5 commit 4598e72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: go

script: travis_wait 20 ./test.sh
script: ./test.sh

go:
- 1.2
Expand Down
7 changes: 1 addition & 6 deletions torture_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ var (


const (
ITERATIONS = 100000000
ITERATIONS = 10000000
SEED = 1487873697990155515
)

Expand Down Expand Up @@ -138,11 +138,6 @@ func TestPanics(test *testing.T) {
}

checkPanic(expression, test)

// "keepalive" so that it's clear that the test is still going successfully (and travis doesn't kill it)
if i % (ITERATIONS / 5) == 0 {
fmt.Printf("(still running)\n")
}
}

test.Logf("Done. %d/%d panics.\n", panics, ITERATIONS)
Expand Down

0 comments on commit 4598e72

Please sign in to comment.