From 9768b4777211cd0321e8e8413a0a0a6d46c984e6 Mon Sep 17 00:00:00 2001 From: Johanna Larsson Date: Thu, 24 Sep 2026 11:31:29 +0100 Subject: [PATCH] chore: skip fsync in more test suites Many of these don't finish anyway on my computer, I gave up around 40 minutes. But for the ones that did, it's a big speed up! For the others I guess they need more love. gauntlet-pr: 67.9s with it, 120.9s without test-store: 508.8s with it, still running at 1313s (I gave up) test-store-sim-nightly: ran for like 40 minutes each attempt without finishing. I just gave up. test-store-asan: only linux? but no reason why we can't apply the fix here too --- justfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/justfile b/justfile index 9d7d7af..3e31576 100644 --- a/justfile +++ b/justfile @@ -27,13 +27,13 @@ fmt-check: lint: fmt-check clippy lint-no-bsky test-store: - SQLX_OFFLINE=true cargo nextest run -p tranquil-store --features tranquil-store/test-harness + SQLX_OFFLINE=true cargo nextest run -p tranquil-store --features tranquil-store/test-harness,tranquil-store/skip-fsync test-store-sim-nightly: - SQLX_OFFLINE=true TRANQUIL_SIM_SEEDS=10000 cargo nextest run -p tranquil-store --features tranquil-store/test-harness --profile sim-nightly + SQLX_OFFLINE=true TRANQUIL_SIM_SEEDS=10000 cargo nextest run -p tranquil-store --features tranquil-store/test-harness,tranquil-store/skip-fsync --profile sim-nightly gauntlet-pr: - SQLX_OFFLINE=true cargo nextest run -p tranquil-store --features tranquil-store/test-harness --profile gauntlet-pr --test gauntlet_smoke + SQLX_OFFLINE=true cargo nextest run -p tranquil-store --features tranquil-store/test-harness,tranquil-store/skip-fsync --profile gauntlet-pr --test gauntlet_smoke gauntlet-nightly HOURS="6": SQLX_OFFLINE=true GAUNTLET_DURATION_HOURS={{HOURS}} cargo nextest run -p tranquil-store --features tranquil-store/test-harness --profile gauntlet-nightly --test gauntlet_smoke --run-ignored all @@ -93,7 +93,7 @@ test-store-asan: ASAN_OPTIONS="halt_on_error=1:abort_on_error=1:detect_leaks=1" \ RUSTFLAGS="-Zsanitizer=address" \ RUSTDOCFLAGS="-Zsanitizer=address" \ - cargo +nightly nextest run -p tranquil-store --features tranquil-store/test-harness --target x86_64-unknown-linux-gnu + cargo +nightly nextest run -p tranquil-store --features tranquil-store/test-harness,tranquil-store/skip-fsync --target x86_64-unknown-linux-gnu test-unit: SQLX_OFFLINE=true cargo test --test it -- dpop_unit:: validation_edge_cases:: scope_edge_cases::