Skip to content

Commit 6ce6eeb

Browse files
committed
Add temporary cluster stress job
Six parallel cluster-suite runs per push, to measure the flake rate of TestFallbackToSlave* before and after a fix. Removed before merge.
1 parent 24a7f79 commit 6ce6eeb

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,45 @@ jobs:
5959

6060
- name: Build
6161
run: make ${{ matrix.stage }}
62+
63+
# TEMPORARY: flake-rate measurement, remove before merge.
64+
cluster-stress:
65+
66+
runs-on: ubuntu-latest
67+
timeout-minutes: 25
68+
69+
strategy:
70+
fail-fast: false
71+
matrix:
72+
run: [1, 2, 3, 4, 5, 6]
73+
74+
steps:
75+
76+
- name: Checkout
77+
uses: actions/checkout@v4
78+
79+
- name: Set up Go
80+
uses: actions/setup-go@v5
81+
with:
82+
go-version: "1.24"
83+
84+
- name: Cache go modules
85+
uses: actions/cache@v4
86+
with:
87+
path: ~/go/pkg/mod
88+
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
89+
restore-keys: |
90+
${{ runner.os }}-go-
91+
92+
- name: Cache redis build
93+
uses: actions/cache@v4
94+
with:
95+
path: |
96+
/tmp/redis-server
97+
key: ${{ runner.os }}-redis-${{ hashFiles('Makefile') }}
98+
99+
- name: Install redis
100+
run: make /tmp/redis-server/redis-server
101+
102+
- name: Build
103+
run: make testcluster

0 commit comments

Comments
 (0)