From 4afee32188d38d2969ea160ddec64cd8359e12ca Mon Sep 17 00:00:00 2001 From: James Nunez Date: Wed, 24 Oct 2018 18:40:35 -0600 Subject: [PATCH 1/1] LU-11373 tests: increase debug limit sanity 60b We've seen cases where the number of debug messages on the MDS exceed the line number limit of 100 in sanity test 60b. Since the line limit is an approximation, increase this limit to 120 lines. Test-Parameters: trivial Test-Parameters: mdtfilesystemtype=zfs ostfilesystemtype=zfs testlist=sanity Test-Parameters: mdscount=2 mdtcount=2 mdtfilesystemtype=zfs ostfilesystemtype=zfs testlist=sanity Test-Parameters: mdscount=2 mdtcount=2 mdtfilesystemtype=ldiskfs ostfilesystemtype=ldiskfs testlist=sanity Signed-off-by: James Nunez Change-Id: Ibf302893f468957983c11374b8fa829802ff136c Reviewed-on: https://review.whamcloud.com/33474 Tested-by: Jenkins Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: Oleg Drokin --- lustre/tests/sanity.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 80fe222..855dcc8 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -6301,10 +6301,11 @@ test_60b() { # bug 6411 else print from_begin }") - [[ $LLOG_COUNT -gt 100 ]] && + + [[ $LLOG_COUNT -gt 120 ]] && error "CDEBUG_LIMIT not limiting messages ($LLOG_COUNT)" || true } -run_test 60b "limit repeated messages from CERROR/CWARN ========" +run_test 60b "limit repeated messages from CERROR/CWARN" test_60c() { [ $PARALLEL == "yes" ] && skip "skip parallel run" -- 1.8.3.1