Whamcloud - gitweb
EX-4141 test: extend expected number of keepalive msgs
authorAlexandre Ioffe <aioffe@ddn.com>
Thu, 27 Apr 2023 04:19:19 +0000 (21:19 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 11 May 2023 00:42:04 +0000 (00:42 +0000)
Make test_165g tolerate wide range of number of
keepalive messages received by lamigo

Test-Parameters: trivial env=ONLY=165g testlist=sanity
Test-Parameters: trivial env=ONLY=165g testlist=sanity
Test-Parameters: trivial env=ONLY=165g testlist=sanity
Test-Parameters: trivial env=ONLY=165g testlist=sanity
Test-Parameters: trivial env=ONLY=165g testlist=sanity
Signed-off-by: Alexandre Ioffe <aioffe@ddn.com>
Change-Id: Ia3132d96420d571e9ed67d2baacdb25da2d52c4d
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/50778
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/tests/sanity.sh

index 660d98c..100bd0c 100755 (executable)
@@ -17638,8 +17638,8 @@ test_165g() {
        count=$(grep -c "send keepalive" ${trace})
 
        # Duration 40 seconds / 4 secs interval = 10 times or so
-       (( count >= 9 && count <= 11 )) ||
-               error "keepalive msg received $count. Expected 9..11"
+       (( count >= 7 && count <= 13 )) ||
+               error "keepalive msg received $count. Expected 7..13"
 }
 run_test 165g "ofd_access_log_reader --keepalive works"