Sometimes test_165g may be internally delayed and
the number of keepalive messages from ofd_access_log_reader
may be unexpectably big.
To fix, remove the verified upper boundary of the keepalive
message counter and make test_165g to expect unlimited number
of such messages.
Test-Parameters: trivial testlist=sanity env=ONLY="165g",ONLY_REPEAT=20
Signed-off-by: Alexandre Ioffe <aioffe@ddn.com>
Change-Id: I8afcfd3c3e52fda229ef81491259bdc600947bd3
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/55312
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Vitaliy Kuznetsov <vkuznetsov@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
count=$(grep -c "send keepalive" ${trace})
- # Duration 40 seconds / 4 secs interval = 10 times or so
- (( count >= 7 && count <= 13 )) ||
- error "keepalive msg received $count. Expected 7..13"
+ # Normal duration 40 seconds / 4 secs interval = 10 times or so.
+ # But sometimes the duration may be unpredictably long
+ (( count >= 7 )) || error "keepalive msg received $count. Expected >= 7"
+
+ echo "keepalive msg received $count"
}
run_test 165g "ofd_access_log_reader --keepalive works"