From: Alex Zhuravlev Date: Tue, 27 May 2025 08:28:15 +0000 (+0300) Subject: LU-19064 tests: sanity/851 to use correct host X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F54%2F59454%2F3;p=fs%2Flustre-release.git LU-19064 tests: sanity/851 to use correct host sanity/851 should use correct hostname to run well on a local setup. Test-Parameters: trivial env=ONLY=851,ONLY_REPEAT=10 testlist=sanity Test-Parameters: trivial env=ONLY=851,ONLY_REPEAT=10 testlist=sanity Signed-off-by: Alex Zhuravlev Change-Id: Id8c62cc8fa7c5e57cef70e549652d30db94a0740 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/59454 Tested-by: Maloo Tested-by: jenkins Reviewed-by: Feng Lei Reviewed-by: Oleg Drokin Reviewed-by: Andreas Dilger --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 1dbcf4c..40cd85c 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -34889,7 +34889,7 @@ test_851() { > $report echo "1234567890" > $file - wait_update_cond localhost "stat -c %s $report" "-gt" "0" 30 || + wait_update_cond $(facet_active_host client) "stat -c %s $report" "-gt" "0" 30 || error "fanotify did not report anything after 30 seconds when file is created" grep -a -E "open.*:$file:" $report || error "no open event for writing $file" @@ -34900,7 +34900,7 @@ test_851() { > $report cat $file - wait_update_cond localhost "stat -c %s $report" "-gt" "0" 30 || + wait_update_cond $(facet_active_host client) "stat -c %s $report" "-gt" "0" 30 || error "fanotify did not report anything after 30 seconds when file is read" grep -a -E "open.*:$file:" $report || error "no open event for reading $file"