Whamcloud - gitweb
LU-12066 tests: activate OSTs in recovery-small/26b 56/56356/6
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 13 Sep 2024 15:38:41 +0000 (08:38 -0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 25 Sep 2024 04:08:25 +0000 (04:08 +0000)
commitc30b69fa0038153ca26f4e493c29021b65d7d5c6
tree51a0e9a3d4656ee3cdc9790636b41aff6343d96b
parent3a6376d1a61ed68ece2591d71531a0c428705987
LU-12066 tests: activate OSTs in recovery-small/26b

In recovery-small.sh test_26b ensure that all OST connections are
active and not disconnected due to being idle.  Otherwise, the
number of OST exports for the remaining client may go down while
the test is running and they will never reconnect.

Change the wait condition to consider success if more exports have
disconnected than expected.

Move wait_client_evicted() down to test_26b() since it is the only
test case where this helper function is being used.

Minor test script style improvements.

Fixes: 5a6ceb664f07 ("LU-7236 ptlrpc: idle connections can disconnect")
Test-Parameters: trivial testlist=recovery-small env=ONLY=26b,ONLY_REPEAT=100
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I7b21d89ea148c4fda6527870e491f59abb3ebbe5
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56356
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/recovery-small.sh