From: Patrick Farrell Date: Wed, 9 Mar 2022 15:15:22 +0000 (-0500) Subject: LU-15484 tests: Increase timeout to wait for child X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F64%2F46764%2F3;p=fs%2Flustre-release.git LU-15484 tests: Increase timeout to wait for child Sanity-pcc 101a is failing because the remote 'sleep 600' process is not always started in time, meaning the NS doesn't exist. Increase the wait time for this process to start. Fixes: f3be560031 "LU-15170 llite: Switch pcc to lookup_one_len" Test-Parameters: trivial Test-Parameters: testlist=sanity-pcc env="ONLY=101a,ONLY_REPEAT=50" Signed-off-by: Patrick Farrell Change-Id: I57175ec2f0e948045cf88d4a13a1e56cc34f8407 --- diff --git a/lustre/tests/sanity-pcc.sh b/lustre/tests/sanity-pcc.sh index 53da75b..9ce8b47 100644 --- a/lustre/tests/sanity-pcc.sh +++ b/lustre/tests/sanity-pcc.sh @@ -1512,7 +1512,7 @@ test_101a() { # process running so we can do the rest of our steps do_facet $SINGLEAGT $RUNAS unshare -Um sleep 600 & # Let the child start... - sleep 0.2 + sleep 2 # Get the sleep PID so we can find its namespace and kill it later PID=$(do_facet $SINGLEAGT pgrep sleep) stack_trap "do_facet $SINGLEAGT kill -9 $PID" EXIT