Hi folks, I'd like a some new precommit functionality that runs new or changed test classes repeatedly, and -1's on the first failure. The idea is to prevent the addition of new flaky tests.
I looked at the existing whitespace.sh and maven.sh for ideas, but I'm a bit lost. I think the basic idea would be: * add a new "changed_workers" function to test-patch.sh similar to modules_workers that finds the changed test files and runs them in a loop. This should be "-fae" style so we find all flaky test classes. * add a new "loopchanged" test type to maven.sh, then a postcompile step that invokes changed_workers Is this basically right? If someone more familiar knows exactly how to do this already, I'm also happy to review. Best, Andrew
