Skip to content

Commit 548df00

Browse files
committed
ci(sync-service): matrix oracle restart job over graceful/brutal/rolling RESTART_TYPE
1 parent d44dc1e commit 548df00

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

‎.github/workflows/sync_service_tests.yml‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,11 +170,15 @@ jobs:
170170
- *upload_test_results_to_codecov
171171

172172
oracle_property_test_with_restarts:
173-
name: 'Oracle property test with restarts, pg17'
173+
name: 'Oracle property test with restarts (${{ matrix.restart_type }}), pg17'
174174
runs-on: blacksmith-4vcpu-ubuntu-2404
175175
defaults:
176176
run:
177177
working-directory: packages/sync-service
178+
strategy:
179+
fail-fast: false
180+
matrix:
181+
restart_type: [graceful, brutal, rolling]
178182
env:
179183
MIX_ENV: test
180184
MIX_TARGET: application
@@ -188,6 +192,7 @@ jobs:
188192
BATCH_COUNT: 50
189193
SKIP_REPATCH_PREWARM: 'true'
190194
RESTART_SERVER_EVERY: 3
195+
RESTART_TYPE: ${{ matrix.restart_type }}
191196
TEST_POOL_SIZE: 20
192197
services:
193198
postgres:
@@ -208,7 +213,7 @@ jobs:
208213
- *install_dependencies
209214
- *compile_package
210215

211-
- name: Run oracle property test with server restarts
216+
- name: Run oracle property test with ${{ matrix.restart_type }} server restarts
212217
run: mix test --only oracle test/integration/oracle_property_test.exs
213218

214219
- *upload_test_results_to_codecov

0 commit comments

Comments
 (0)