From 4e36546be6c156454ab16b29c6503ab46fe83495 Mon Sep 17 00:00:00 2001 From: "John L. Hammond" Date: Mon, 3 May 2021 23:04:05 -0700 Subject: [PATCH] EX-2718 tests: remove lpurge mds validation The lpurge changes for EX-2718 (use local mountpoint for purge operations) lands with commit dfa0760e7d8. However, the hot-pools.sh changes were missing somehow. This patch adds the changes back to remove lpurge mds validation. Lustre-change: https://review.whamcloud.com/43140 Lustre-commit: 7b00329e09ef73335e33dd8e83bb7993c39990e9 Fixes: dfa0760e7d8 ("EX-2718 lpurge: use local mountpoint for purge operations") Change-Id: I55a40dfd958e40859ddb5e98b3f76ad568d0095b Signed-off-by: John L. Hammond Reviewed-on: https://review.whamcloud.com/43528 Tested-by: jenkins Reviewed-by: Alex Zhuravlev Reviewed-by: Andreas Dilger Tested-by: Andreas Dilger Tested-by: Maloo --- lustre/tests/hot-pools.sh | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/lustre/tests/hot-pools.sh b/lustre/tests/hot-pools.sh index 7771d39..d126dd4 100644 --- a/lustre/tests/hot-pools.sh +++ b/lustre/tests/hot-pools.sh @@ -895,7 +895,7 @@ verify_one_lpurge_params() { verify_one_lpurge_param $i ostname "$dev" verify_one_lpurge_param $i mountpoint "$LPURGE_MOUNT" - verify_one_lpurge_param $i mds "$(comma_list ${LPURGE_MDS[@]})" + # verify_one_lpurge_param $i mds "$(comma_list ${LPURGE_MDS[@]})" EX-2718 verify_one_lpurge_param $i pool "$LPURGE_POOL" verify_one_lpurge_param $i free_high "$LPURGE_FREEHI" verify_one_lpurge_param $i free_low "$LPURGE_FREELO" @@ -1565,24 +1565,12 @@ test_55() { error "start lpurge with only '-D' option should fail" } - LPURGE_MDS= LPURGE_POOL= LPURGE_INTV= start_one_lpurge_cmd - ! check_one_lpurge_is_started || { - stop_one_lpurge_cmd - error "start lpurge with only '-D' and '-M' options should fail" - } - LPURGE_MOUNT=foo start_one_lpurge_cmd ! check_one_lpurge_is_started || { stop_one_lpurge_cmd error "start lpurge with bad '-M' option should fail" } - LPURGE_MDS=foo start_one_lpurge_cmd - ! check_one_lpurge_is_started || { - stop_one_lpurge_cmd - error "start lpurge with bad '-m' option should fail" - } - LPURGE_DEV=foo start_one_lpurge_cmd ! check_one_lpurge_is_started || { stop_one_lpurge_cmd -- 1.8.3.1