From 65a7a268251634acd81dbf14dc78f1b4f7cf5157 Mon Sep 17 00:00:00 2001 From: Alex Zhuravlev Date: Tue, 15 Jan 2019 15:13:50 +0300 Subject: [PATCH] LU-11058 tests: cleanup persistent checksum= in 77k this trivial patch let me pass 77k locally. can be used till actual solution is landed Test-Parameters: trivial Change-Id: I5c4b4cd15d8e02dd96d918c07aacd184014ade0c Signed-off-by: Alex Zhuravlev Reviewed-on: https://review.whamcloud.com/34035 Reviewed-by: Andreas Dilger Tested-by: Jenkins Tested-by: Maloo Reviewed-by: James Nunez Reviewed-by: Oleg Drokin --- lustre/tests/sanity.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index d701c5e..df7f53f 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -8,8 +8,8 @@ set -e ONLY=${ONLY:-"$*"} -# bug number for skipped test: LU-9693 LU-6493 LU-9693 LU-11058 -ALWAYS_EXCEPT="$SANITY_EXCEPT 42a 42b 42c 77k" +# bug number for skipped test: LU-9693 LU-6493 LU-9693 +ALWAYS_EXCEPT="$SANITY_EXCEPT 42a 42b 42c" # UPDATE THE COMMENT ABOVE WITH BUG NUMBERS WHEN CHANGING ALWAYS_EXCEPT! # skipped tests: LU-8411 LU-9096 LU-9054 .. @@ -7320,6 +7320,9 @@ test_77k() { # LU-10906 checksum=$(eval $get_checksum) [ $checksum -eq $i ] || error "checksum($checksum) != $i" done + # remove persistent param to avoid races with checksum mountopt below + do_facet mgs $LCTL set_param -P -d $cksum_param || + error "failed to delete checksum on MGS" for opt in "checksum" "nochecksum"; do #remount with mount option -- 1.8.3.1