Whamcloud - gitweb
LU-8585 test: fix sanity/200 looping breakage 76/57576/5
authorJames Simmons <jsimmons@infradead.org>
Mon, 23 Dec 2024 20:17:47 +0000 (15:17 -0500)
committerOleg Drokin <green@whamcloud.com>
Sat, 18 Jan 2025 22:02:41 +0000 (22:02 +0000)
Create test files in $tdir instead of another directory name
so that run_one_logged() will cleanup the test files after
each iteration when run in a loop.

Change-Id: I9bf8a74990a3ebe65b8d42a55d52a03072b02728
Test-Parameters: trivial testlist=sanity env=ONLY=200,ONLY_REPEAT=250
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57576
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity.sh

index 00fcabc..74cc99a 100755 (executable)
@@ -21450,7 +21450,7 @@ test_200() {
        [ -n "$FILESET" ] && skip "SKIP due to FILESET set"
 
        local POOL=${POOL:-cea1}
-       local POOL_ROOT=${POOL_ROOT:-$DIR/d200.pools}
+       local POOL_ROOT=${POOL_ROOT:-$DIR/$tdir}
        local POOL_DIR_NAME=${POOL_DIR_NAME:-dir_tst}
        # Pool OST targets
        local first_ost=0