Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

One common mistake is to forget to unskip the test that you’re stressing (if it is skipped to begin with, as it may be as the test-infra community service team does that to flaky tests). It happens to everyone. Just keep in mind that this is a thing that happens, and if the number of iterations seems to fly up very quickly, ponder whether it’s currently happening to you.

Below we describe how to “manually” stress tests (i.e. on your machine or a gceworker). We also recommend, as a quick first thing to try, to let CI stress the test for you:

https://www.loom.com/share/b672200008164b42b2763477ceea70da

stress{,race}

./dev test --stress pkg/something --filter '^MyTestName$'; ideally on a gceworker (to avoid clogging your work station).

...