Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use individual cli test retries #3676

Merged
merged 1 commit into from
Nov 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1015,11 +1015,8 @@ jobs:
# Run fluvio test
- name: Run Fluvio CLI smoke tests
if: matrix.test == 'fluvio'
uses: nick-fields/retry@v2
with:
timeout_minutes: 15
max_attempts: 3
command: make cli-fluvio-smoke
timeout-minutes: 15
run: CLI_TEST_RETRIES=3 make cli-fluvio-smoke

# test smdk
- name: Download artifact - smdk
Expand Down
4 changes: 4 additions & 0 deletions tests/cli/test_helper/tools_check.bash
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ main() {
TEST_HELPER_DIR=${TEST_HELPER_DIR:-./test_helper}
export TEST_HELPER_DIR

# BATS_TEST_RETRIES is set to default after bats started therefore we set it here
BATS_TEST_RETRIES=${CLI_TEST_RETRIES:-0}
export BATS_TEST_RETRIES

check_load_bats_libraries;
check_fluvio_bin_path;
check_timeout_bin;
Expand Down
Loading