From 6e556b7cd213172418a464fe941b7831ba323447 Mon Sep 17 00:00:00 2001 From: Jian Yu Date: Thu, 15 Dec 2022 11:31:50 -0800 Subject: [PATCH] LU-16373 tests: failover mds1 back to the primary server This patch fixes recovery-small test 144a to failover mds1 back to the primary server so that stack_trap can set timeout parameter on the correct mds node. Lustre-change: https://review.whamcloud.com/49345 Lustre-commit: d6411c87a98be0a7e8b7460bf537c6502b6daeca Test-Parameters: trivial \ env=SLOW=yes,FAILURE_MODE=HARD,ONLY=144a \ clientcount=4 mdtcount=1 mdscount=2 osscount=2 \ austeroptions=-R failover=true iscsi=1 \ testlist=recovery-small Change-Id: Idbfdb7b084c7edac8784008e0455f76632aa685b Test-Parameters: trivial testlist=recovery-small Signed-off-by: Jian Yu Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49418 Reviewed-by: Oleg Drokin Reviewed-by: Andreas Dilger Reviewed-by: Arshad Hussain Tested-by: jenkins Tested-by: Maloo --- lustre/tests/recovery-small.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lustre/tests/recovery-small.sh b/lustre/tests/recovery-small.sh index fb2a421..563cff3 100755 --- a/lustre/tests/recovery-small.sh +++ b/lustre/tests/recovery-small.sh @@ -3129,6 +3129,9 @@ test_144a() { # the worst. diff=$((after - before)) (( $diff < 240 )) || error "MDT failover took $diff seconds" + + # failover mds1 back to the primary server + fail mds1 } run_test 144a "MDT failover should stop precreation threads" -- 1.8.3.1