From 4598e72a5762f7e683b840482a8bf9d19b1eb5e2 Mon Sep 17 00:00:00 2001 From: George Lester Date: Fri, 24 Feb 2017 10:17:23 -0800 Subject: [PATCH] travis just doesn't support >10m builds anymore. Dropping torture iterations and removing other attempts. --- .travis.yml | 2 +- torture_test.go | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5f3a293..35ae404 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: go -script: travis_wait 20 ./test.sh +script: ./test.sh go: - 1.2 diff --git a/torture_test.go b/torture_test.go index 25410fd..1eb3cda 100644 --- a/torture_test.go +++ b/torture_test.go @@ -110,7 +110,7 @@ var ( const ( - ITERATIONS = 100000000 + ITERATIONS = 10000000 SEED = 1487873697990155515 ) @@ -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)