mirror of
https://tangled.org/tranquil.farm/tranquil-pds
synced 2026-09-26 04:04:14 +00:00
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
This commit is contained in:
@@ -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::
|
||||
|
||||
Reference in New Issue
Block a user