fleet/.github/workflows/config
Scott Gress 1c3487ad86
Create RandoKiller™ to help diagnose and fix flaky tests (#24696)
This PR adds a new workflow called "Stress Test Go Test" (aka the
RandoKiller) that allows running one or more tests repeatedly up to a
set number of times, or until a test fails. This is useful for:

* Trying to diagnose and debug a flaky test
* Verifying that a proposed fix for a flaky test actually works.

To use:

1. Create a branch whose name ends with "-randokiller"
2. Modify the .github/workflows/config/randokiller.json file to your
specifications (choosing the packages and tests to run, the mysql
matrix, and the number of runs to do)
3. Push up the branch

Since the stress test is intended to run a branch that you'll never
merge, you should feel free to add whatever logs to your tests or code
that will help diagnose failures.

I used this to diagnose and fix
https://github.com/fleetdm/fleet/pull/24697!
2024-12-12 12:02:21 -06:00
..
codeql.yml Update CodeQL action version and exclude paths (#4930) 2022-04-04 12:14:21 -07:00
markdown-link-check-config.json set default shell in workflows (#8108) 2022-10-07 09:43:56 -06:00
randokiller.json Create RandoKiller™ to help diagnose and fix flaky tests (#24696) 2024-12-12 12:02:21 -06:00
slack_payload_template.json Add summary to test-go.yml Slack message when it fails (#18188) 2024-04-10 18:04:26 -03:00