Whamcloud - gitweb
LU-15943 tests: Modify timing of sanity-lnet 210 and 211 80/48580/4
authorChris Horn <chris.horn@hpe.com>
Wed, 14 Sep 2022 00:47:58 +0000 (19:47 -0500)
committerOleg Drokin <green@whamcloud.com>
Tue, 4 Oct 2022 19:36:37 +0000 (19:36 +0000)
commit2eba92f6469386ff53ae01f9ddabe5ae455ed77b
treeeb3b3181d0ea8504252c5f7d6c8f30b0e397eb2d
parent15d243cd1e290efe7a64950522b5b637178608b6
LU-15943 tests: Modify timing of sanity-lnet 210 and 211

The portions of test_210 and test_211 that test the
max_recovery_ping_interval parameter are a little racy because the
window where we can get an accurate ping count is small. This is due
to the tests only being able to sleep for whole seconds vs the more
fine-grained time keeping done in the kernel.

Increase the max interval from 2 to 4 and adjust the expected
ping counts accordingly.

Test-Parameters: trivial
Test-Parameters: testlist=sanity-lnet env=ONLY=210,ONLY_REPEAT=100
Test-Parameters: testlist=sanity-lnet env=ONLY=211,ONLY_REPEAT=100
Signed-off-by: Chris Horn <chris.horn@hpe.com>
Change-Id: Idf8b2ff0d5745bdf4484e75f452bc4f06fbcf1a4
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/48580
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Frank Sehr <fsehr@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity-lnet.sh