This is an automated email from the ASF dual-hosted git repository. hgruszecki pushed a commit to branch revert-shared-server in repository https://gitbox.apache.org/repos/asf/iggy.git
commit e4b020e32f104c46c98dca27d5eda6464f99ff91 Author: Hubert Gruszecki <[email protected]> AuthorDate: Tue Apr 7 15:00:58 2026 +0200 ci: add nextest CI profile with retries for flaky tests Connector integration tests fail intermittently from resource contention (e.g. WireMock timeouts). Rather than sharing server processes across tests - which nextest prevents by running each test in a separate executable - retry failures up to 3 times. Adds [profile.ci] to nextest.toml and switches pre-merge and coverage-baseline to --profile ci. --- .config/nextest.toml | 3 +++ .github/actions/rust/pre-merge/action.yml | 2 +- .github/workflows/coverage-baseline.yml | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.config/nextest.toml b/.config/nextest.toml index bb29d9651..fb488b694 100644 --- a/.config/nextest.toml +++ b/.config/nextest.toml @@ -23,3 +23,6 @@ threads-required = "num-cpus" [profile.default] slow-timeout = { period = "30s", terminate-after = 4 } + +[profile.ci] +retries = 3 diff --git a/.github/actions/rust/pre-merge/action.yml b/.github/actions/rust/pre-merge/action.yml index d1d07138d..0daa91b5d 100644 --- a/.github/actions/rust/pre-merge/action.yml +++ b/.github/actions/rust/pre-merge/action.yml @@ -144,7 +144,7 @@ runs: test_start=$(date +%s) if command -v cargo-nextest &> /dev/null; then - cargo nextest run --locked --no-fail-fast $PARTITION_FLAG + cargo nextest run --locked --no-fail-fast --profile ci $PARTITION_FLAG else if [[ -n "$PARTITION_FLAG" ]]; then echo "::error::cargo-nextest not found, falling back to cargo test without partitioning (all tests will run on every partition)" diff --git a/.github/workflows/coverage-baseline.yml b/.github/workflows/coverage-baseline.yml index 8fe98cde7..e6bc0bd14 100644 --- a/.github/workflows/coverage-baseline.yml +++ b/.github/workflows/coverage-baseline.yml @@ -78,7 +78,7 @@ jobs: eval $(echo -n "test" | gnome-keyring-daemon --unlock --components=secrets) echo -n "warmup" | secret-tool store --label="ci-warmup" ci-test warmup - cargo test --locked --no-fail-fast + cargo nextest run --locked --no-fail-fast --profile ci shell: bash - name: Generate coverage report
