From 9dd5af4990759355f576b29f35d5810d31c7e5c4 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Mon, 19 Jun 2017 17:16:00 +0200 Subject: [PATCH] test: increase history size of race condition detector This commit increases the history size of the race condition detector such that we will more reliably be able to recover the stack in the case that a race condition occurs. --- gotest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gotest.sh b/gotest.sh index 8a88e217..ccbf6b5c 100755 --- a/gotest.sh +++ b/gotest.sh @@ -77,7 +77,7 @@ test_race_conditions() { check_test_ports test_targets=$(go list ./... | grep -v '/vendor/') - env GORACE="halt_on_error=1" go test -v -race $test_targets + env GORACE="history_size=7 halt_on_error=1" go test -v -race $test_targets } # lint_check runs static checks.