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.
This commit is contained in:
Olaoluwa Osuntokun 2017-06-19 17:16:00 +02:00
parent a95d56741d
commit 9dd5af4990
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2
1 changed files with 1 additions and 1 deletions

View File

@ -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.