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

Address a flake in queues_tests #28

Merged
merged 6 commits into from
Oct 19, 2024
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: 5 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,14 @@ jobs:
with:
toolchain: ${{ matrix.rust-version }}

- name: Install cargo-nextest
run: cargo install cargo-nextest

- name: Wait for node to start booting
run: sleep 15

- name: Configure broker
run: RUST_HTTP_API_CLIENT_RABBITMQCTL=DOCKER:${{job.services.rabbitmq.id}} bin/ci/before_build.sh

- name: Run cargo test
run: cargo test --workspace --no-fail-fast --all-features
- name: Run tests
run: RUST_BACKTRACE=1 TEST_STATS_DELAY=2000 NEXTEST_RETRIES=4 cargo nextest run --workspace --no-fail-fast --all-features
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ tabled = { version = "0.16", features = ["derive", "macros"], optional = true }

[dev-dependencies]
amqprs = "1"
cargo-nextest = "0.9.81"
# tokio = { version = "1", features = ["rt", "net"] }

[features]
Expand Down
Loading