Skip to content

Commit 681f08d

Browse files
authored
fix(ci): bandaid for flaky macOS tests (#22239)
* fix(ci): bandaid for flaky macOS tests * slightly increase timeout
1 parent 56d6a7d commit 681f08d

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/unit_mac.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,15 @@ jobs:
4747
- run: bash scripts/environment/bootstrap-macos.sh
4848
- run: bash scripts/environment/prepare.sh
4949
- run: echo "::add-matcher::.github/matchers/rust.json"
50-
- run: make test
50+
51+
# Some tests e.g. `reader_exits_cleanly_when_writer_done_and_in_flight_acks` are flaky.
52+
- name: Run tests
53+
uses: nick-fields/retry@v3
54+
with:
55+
timeout_minutes: 45
56+
max_attempts: 3
57+
command: make test
58+
5159
- run: make test-behavior
5260

5361
- name: (PR review) Set latest commit status as ${{ job.status }}

0 commit comments

Comments
 (0)