From: Jian Yu Date: Thu, 10 Aug 2023 07:35:22 +0000 (-0700) Subject: LU-16943 tests: use primary ost1 server in replay-single/135 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=74c0aacebb4111116ea1db7546fb5575127f46cd;p=fs%2Flustre-release.git LU-16943 tests: use primary ost1 server in replay-single/135 This patch fixes replay-single test_135() to make sure the primary ost1 server is used at the beginning of the test. Test-Parameters: trivial testlist=replay-single Test-Parameters: trivial env=FAILURE_MODE=HARD \ clientcount=4 mdtcount=1 mdscount=2 osscount=2 \ austeroptions=-R failover=true iscsi=1 \ testlist=replay-single,mmp Fixes: 18a424a0db1d ("LU-16943 tests: fix replay-single/135 under hard failure mode") Change-Id: Ia25314255c9f00ba71687e1f757517f37031caed Signed-off-by: Jian Yu Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/51913 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Alex Deiter Reviewed-by: Andreas Dilger --- diff --git a/lustre/tests/replay-single.sh b/lustre/tests/replay-single.sh index ec26b25..ad1bc0a 100755 --- a/lustre/tests/replay-single.sh +++ b/lustre/tests/replay-single.sh @@ -4972,6 +4972,9 @@ run_test 134 "replay creation of a file created in a pool" # LU-14027 test_135() { + # make sure we are using the primary server + [[ $(facet_active ost1) == "ost1" ]] || fail ost1 + mkdir $DIR/$tdir || error "mkdir $DIR/$tdir failed" # All files to ost1