Skip to content

Commit de69291

Browse files
committed
ci: test cmd raft sanitizer combination
1 parent e8677dc commit de69291

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -348,11 +348,11 @@ jobs:
348348
"$ASAN_SYMBOLIZER_PATH" --version || true
349349
fi
350350
if [[ "${{ matrix.sanitizer }}" == "leak" ]]; then
351-
# The full workspace run already established that the remaining
352-
# report is emitted by the cmd test binary. Keep this diagnostic
353-
# invocation focused so symbolized LSan feedback is fast.
351+
# The standalone cmd binary is clean. Include raft's test graph in
352+
# this smaller diagnostic to reproduce the workspace feature
353+
# unification without running every workspace test binary.
354354
cargo +${SANITIZER_TOOLCHAIN} test -Z build-std --target x86_64-unknown-linux-gnu \
355-
-p cmd --lib 2>&1 | tee sanitizer.log
355+
-p cmd -p raft --lib 2>&1 | tee sanitizer.log
356356
elif [[ "${{ matrix.sanitizer }}" == "thread" ]]; then
357357
# RocksDB/libstdc++ trigger sanitizer reports and timing instability
358358
# in storage integration test binaries. The net crate's end-to-end

0 commit comments

Comments
 (0)