Whamcloud - gitweb
EX-8780 test: wait osts up after restart
authorHongchao Zhang <hongchao@whamcloud.com>
Sat, 9 Dec 2023 20:43:49 +0000 (04:43 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 29 Dec 2023 11:11:34 +0000 (11:11 +0000)
In test_18e of sanity-lfsck, the OSTs could not be ready on all MDTs
and the LFSCK status will be incorrect because the LFSCK notify can
not be sent to all OSTs.

Change-Id: If1ed5d920d5c8b99d42f59f92a1e245a9e2a8267
Test-Parameters: trivial testlist=sanity-lfsck,sanity-lfsck,sanity-lfsck,sanity-lfsck,sanity-lfsck
Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/53531
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/tests/sanity-lfsck.sh

index 5ca523e..147c8ec 100755 (executable)
@@ -2667,6 +2667,8 @@ test_18e() {
        echo "setupall"
        setupall > /dev/null
 
+       wait_osts_up
+
        #define OBD_FAIL_LFSCK_DELAY3           0x1602
        do_facet $SINGLEMDS $LCTL set_param fail_val=10 fail_loc=0x1602