goclean: increase history size for race cond detector

This commit is contained in:
Olaoluwa Osuntokun 2018-05-23 19:14:39 -07:00
parent 2b856b5200
commit 56fac5572c

View file

@ -12,7 +12,7 @@ test -z "$(go fmt $(glide novendor) | tee /dev/stderr)"
# test -z "$(goimports -l -w . | tee /dev/stderr)"
test -z "$(for package in $(glide novendor); do golint $package; done | grep -v 'ALL_CAPS\|OP_\|NewFieldVal\|RpcCommand\|RpcRawCommand\|RpcSend\|Dns\|api.pb.go\|StartConsensusRpc\|factory_test.go\|legacy\|UnstableAPI' | tee /dev/stderr)"
test -z "$(go vet $(glide novendor) 2>&1 | grep -v '^exit status \|Example\|newestSha\| not a string in call to Errorf$' | tee /dev/stderr)"
env GORACE="halt_on_error=1" go test -race $(glide novendor)
env GORACE="history_size=7 halt_on_errors=1" go test -race $(glide novendor)
# Run test coverage on each subdirectories and merge the coverage profile.