raftExample: Allow closing raftexample node when snapshotting.

Fix race that made the raftExample test fail.
This commit is contained in:
Piotr Tabor
2021-02-25 22:34:23 +01:00
parent 9563698f64
commit 3976d68ed3
3 changed files with 9 additions and 3 deletions

View File

@@ -151,7 +151,7 @@ test:
$(TEST_OPTS) ./test.sh 2>&1 | tee test-$(TEST_SUFFIX).log
! egrep "(--- FAIL:|DATA RACE|panic: test timed out|appears to have leaked)" -B50 -A10 test-$(TEST_SUFFIX).log
test-small:
test-smoke:
$(info log-file: test-$(TEST_SUFFIX).log)
PASSES="fmt build unit" ./test.sh 2<&1 | tee test-$(TEST_SUFFIX).log