Whamcloud - gitweb
LU-17735 tests: extend health check to avoid spurious failures 65/54765/3
authorSrikanth Ramamurthy <srramamu@microsoft.com>
Wed, 6 Oct 2021 19:06:25 +0000 (19:06 +0000)
committerOleg Drokin <green@whamcloud.com>
Mon, 10 Jun 2024 06:11:01 +0000 (06:11 +0000)
Increase network check timeout to avoid spurious failures of tests
like sanity test 7b.  5 seconds is too short in certain environments.

Signed-off-by: Srikanth Ramamurthy <srramamu@microsoft.com>
Change-Id: Iea49f4f66efbfe0afa56ec81eadea6d792cab55f
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54765
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/test-framework.sh

index 44d92cf..7c4b02e 100755 (executable)
@@ -8281,7 +8281,7 @@ check_node_health() {
        # *clearly* the network is working if get_param returned something.
        if (( $(grep -c catastro $health) != $(wc -w <<< ${nodes//,/ }) )); then
                for node in ${nodes//,/ }; do
-                       check_network $node 5
+                       check_network $node 60
                done
        fi
        rm -f $health