Whamcloud - gitweb
EX-7342 revert: "test: remove extra cleanup and qp check"
authorAndreas Dilger <adilger@whamcloud.com>
Sun, 1 Oct 2023 03:45:26 +0000 (03:45 +0000)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 2 Oct 2023 01:00:42 +0000 (01:00 +0000)
This reverts commit 1dbe9be20011893ca46ccbbd2676e8063af4158d.
This causes 100% sanity-quota timeouts in test_79.

Test-Parameters: trivial testlist=sanity-quota
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I77a168bde4b53b69a197a4036b31b36f792ebae3
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52561
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alex Deiter <alex.deiter@gmail.com>
lustre/tests/sanity-quota.sh

index e3d9489..075c43d 100755 (executable)
@@ -5533,12 +5533,12 @@ test_79()
        local cmd="$LCTL get_param -n qmt.$FSNAME-QMT0000.dt-$qpool.info"
        local stopf=$TMP/$tfile
 
-       mds_supports_qp
        do_facet mds1 "touch $stopf"
        stack_trap "do_facet mds1 'rm -f $stopf'"
        do_facet mds1 "while [ -e $stopf ]; do $cmd &>/dev/null; done"&
        local pid=$!
        pool_add $qpool || error "pool_add failed"
+       do_facet mds1 "rm $stopf"
        wait $pid
 }
 run_test 79 "access to non-existed dt-pool/info doesn't cause a panic"