Rework time dilution in F3 tests and refine assertions #11
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Repeat Flaky Tests | |
on: | |
pull_request: | |
jobs: | |
test: | |
name: ${{ matrix.test }} ${{ matrix.go }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
go: | |
- 1.22 | |
- 1.23 | |
test: | |
- TestF3Simple | |
- TestF3WithLookback | |
- TestF3PauseResumeCatchup | |
- TestF3FailRecover | |
- TestF3DynamicManifest_WithoutChanges | |
- TestF3DynamicManifest_WithRebootstrap | |
- TestF3DynamicManifest_WithPauseAndRebootstrap | |
- TestF3DynamicManifest_RebootstrapWithCompression | |
- TestF3LateBootstrap | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: Repeat ${{ matrix.test }} | |
run: go test -timeout 10m -count 10 -v --run='^${{ matrix.test }}' --failfast . | |
- name: Repeat ${{ matrix.test }} with race detector | |
run: go test -timeout 10m -count 10 -v --race --run='^${{ matrix.test }}' --failfast . |