From f22dd644182f7133cad07f1229f3d28f4cc2d025 Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Wed, 1 May 2013 22:43:25 -0600 Subject: [PATCH] LU-3262 tests: add slow ost-pools tests to SLOW list Add test 5b, 18, 22, and 25 to the SLOW list, which cuts about 30 minutes off the ost-pools test time if run with SLOW=no. Test-Parameters: testlist=ost-pools,ost-pools,ost-pools Signed-off-by: Andreas Dilger Change-Id: I430bdf5132516351e345df3ccf5461cb62500c1e Reviewed-on: http://review.whamcloud.com/6235 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Emoly Liu Reviewed-by: Jian Yu Reviewed-by: Oleg Drokin --- lustre/tests/ost-pools.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lustre/tests/ost-pools.sh b/lustre/tests/ost-pools.sh index 6dfa7fe..c3a5609 100644 --- a/lustre/tests/ost-pools.sh +++ b/lustre/tests/ost-pools.sh @@ -29,7 +29,7 @@ init_logging check_and_setup_lustre -[ "$SLOW" = "no" ] && EXCEPT_SLOW="23b" +[ "$SLOW" = "no" ] && EXCEPT_SLOW="5b 18 22 23b 25" DIR=${DIR:-$MOUNT} assert_DIR @@ -576,18 +576,18 @@ sub_test_5() { destroy_pool $POOL2 } -test_5() { +test_5a() { set_cleanup_trap # Issue commands from client - sub_test_5 $LCTL sub_test_5 $LFS +} +run_test 5a "lfs pool_list from client" - # Issue commands from MDS +test_5b() { + set_cleanup_trap sub_test_5 "do_facet $SINGLEMDS lctl" - sub_test_5 "do_facet $SINGLEMDS lfs" - } -run_test 5 "lfs/lctl pool_list" +run_test 5b "lctl pool_list from MDS" test_6() { set_cleanup_trap -- 1.8.3.1