From: Alex Zhuravlev Date: Wed, 21 Sep 2022 00:40:46 +0000 (-0700) Subject: EX-4093 tests: hot-pools don't recreate pools X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=116cbacc52d8;p=fs%2Flustre-release.git EX-4093 tests: hot-pools don't recreate pools the test can save some time skipping pools recreating in every subtest. before: 1371 seconds after: 1058 seconds Test-Parameters: trivial testlist=hot-pools Signed-off-by: Alex Zhuravlev Change-Id: I9304e29b6fc59dd68626b44844dc81500009a80f Reviewed-on: https://review.whamcloud.com/48614 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger --- diff --git a/lustre/tests/hot-pools.sh b/lustre/tests/hot-pools.sh index 9514f96..805c2c2 100755 --- a/lustre/tests/hot-pools.sh +++ b/lustre/tests/hot-pools.sh @@ -188,9 +188,6 @@ init_hot_pools_env() { changelog_register fi - # create OST pools - create_ost_pools - init_lamigo_vars init_lpurge_vars @@ -227,6 +224,7 @@ lpurge_logfile() { build_test_filter check_and_setup_lustre +create_ost_pools # lamigo operations check_one_lamigo_is_started() { @@ -2198,6 +2196,8 @@ test_72() { } run_test 72 "lamigo: --oss option and ALR delivery to lamigo" +destroy_test_pools $FSNAME + complete $SECONDS check_and_cleanup_lustre exit_status