From: James Nunez Date: Thu, 25 Oct 2018 00:40:35 +0000 (-0600) Subject: LU-11373 tests: increase debug limit sanity 60b X-Git-Tag: 2.12.0-RC1~133 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=4afee32188d38d2969ea160ddec64cd8359e12ca;hp=337f230565ea033d126653e8da01315211470665 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 --- 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"