The stress utility is intended for catching of episodic failures. It runs a given process in parallel in a loop and collects any failures. Usage:
$ stress ./fmt.test -test.run=TestSometing -test.cpu=10
You can also specify a number of parallel processes with -p flag; instruct the utility to not kill hanged processes for gdb attach; or specify the failure output you are looking for (if you want to ignore some other episodic failures).
Package main imports 9 packages (graph). Updated 2016-04-19. Refresh now. Tools for package owners.