Whamcloud - gitweb
LU-11373 tests: increase debug limit sanity 60b 74/33474/3
authorJames Nunez <jnunez@whamcloud.com>
Thu, 25 Oct 2018 00:40:35 +0000 (18:40 -0600)
committerOleg Drokin <green@whamcloud.com>
Tue, 30 Oct 2018 01:04:13 +0000 (01:04 +0000)
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 <jnunez@whamcloud.com>
Change-Id: Ibf302893f468957983c11374b8fa829802ff136c
Reviewed-on: https://review.whamcloud.com/33474
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity.sh

index 80fe222..855dcc8 100755 (executable)
@@ -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"