Skip to content

Commit ba5940b

Browse files
committed
try more when kafka
1 parent 8db96cd commit ba5940b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/actions/run_multiverse/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ inputs:
1111
description: 'If this is run on PR'
1212
required: true
1313
default: true
14+
number_of_attempts:
15+
default: 2
16+
required: true
1417

1518
runs:
1619
using: "composite"
@@ -42,7 +45,7 @@ runs:
4245
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # tag v3.0.2
4346
with:
4447
timeout_minutes: 60
45-
max_attempts: 2
48+
max_attempts: ${{ inputs.number_of_attempts }}
4649
command: bundle exec rake test:multiverse[group="${{ inputs.group }}"]
4750
env:
4851
VERBOSE_TEST_OUTPUT: true

.github/workflows/ci_cron.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ jobs:
243243
ruby-version: ${{ matrix.ruby-version }}
244244
group: services_kafka
245245
pr-ci: false
246+
number_of_attempts: 4
246247

247248

248249
multiverse_services_mysql_pg:

0 commit comments

Comments
 (0)