...
If this doesn’t yield a reproduction in due time, you could try under race (add --race
flag) or adjust the --stress-args
(see go run ./vendor/stress --help
, from github.com/cockroachdb/stress --help
).
Other Notes:
To print the full logs of the failed test trial, add
-v --show-logs
to your test cmdIf you’re trying to reproduce an instance of a slow or hanging test, add a per trial timeout (i.e. fail if a test trial takes longer than 5 minutes), add
--test-args='-test.timeout 5m'
to your test cmd
...