Whamcloud - gitweb
LU-16943 tests: fix replay-single/135 under hard failure mode 74/51574/5
authorJian Yu <yujian@whamcloud.com>
Wed, 12 Jul 2023 13:48:41 +0000 (21:48 +0800)
committerJian Yu <yujian@whamcloud.com>
Wed, 12 Jul 2023 13:48:41 +0000 (21:48 +0800)
commit1b73b6465b77744992bb1f6d782362bf0cf7f409
treed872313f01500fe7856a8acbac83eb373d90f779
parent51d62f2122fee14fbb3ff8333b5a830e1181e4e5
LU-16943 tests: fix replay-single/135 under hard failure mode

This patch fixes replay-single test_135() to load libcfs module
on the failover partner node to avoid 'fail_val' setting error.
It also fixes the issue that not all of the OSTs are mounted after
failing back ost1.

Test-Parameters: trivial env=REPLAY_SINGLE_EXCEPT=200 testlist=replay-single
Test-Parameters: trivial env=REPLAY_SINGLE_EXCEPT=200 fstype=zfs testlist=replay-single

Test-Parameters: trivial env=REPLAY_SINGLE_EXCEPT=200,FAILURE_MODE=HARD \
    clientcount=4 mdtcount=1 mdscount=2 osscount=2 \
    austeroptions=-R failover=true iscsi=1 \
    testlist=replay-single

Change-Id: Id46c722a6db9d832829a739f41f7462b32a6d9d9
Signed-off-by: Jian Yu <yujian@whamcloud.com>
lustre/tests/replay-single.sh
lustre/tests/test-framework.sh