diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 43afd01f92532..b12b2ecdcff86 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -168,7 +168,7 @@ jobs: if: needs.changes.outputs.rust == 'true' run: | echo "Starting cargo test" - cargo test --all-features ${{ matrix.package == 'feature-flags' && '--package feature-flags' || '--workspace --exclude feature-flags' }} + RUST_BACKTRACE=1 cargo test --all-features ${{ matrix.package == 'feature-flags' && '--package feature-flags' || '--workspace --exclude feature-flags' }} echo "Cargo test completed" linting: diff --git a/rust/cyclotron-fetch/tests/fetch.rs b/rust/cyclotron-fetch/tests/fetch.rs index 5d148a8f7d895..b8ca6a61aeb0d 100644 --- a/rust/cyclotron-fetch/tests/fetch.rs +++ b/rust/cyclotron-fetch/tests/fetch.rs @@ -69,11 +69,11 @@ pub async fn test_returns_failure_after_retries(db: PgPool) { // Tick twice for retry let started = tick(context.clone()).await.unwrap(); assert_eq!(started, 1); - wait_on_no_running(&db, Duration::milliseconds(100)).await; + wait_on_no_running(&db, Duration::milliseconds(500)).await; make_immediately_available(&db).await; let started = tick(context.clone()).await.unwrap(); assert_eq!(started, 1); - wait_on_no_running(&db, Duration::milliseconds(100)).await; + wait_on_no_running(&db, Duration::milliseconds(500)).await; let returned = wait_on_return(&return_worker, 1, false).await.unwrap();