From 20f794e7e8b736a944c9e1e87970e7232abd6a19 Mon Sep 17 00:00:00 2001 From: Patrick Farrell Date: Wed, 9 Mar 2022 10:15:22 -0500 Subject: [PATCH] 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 --- lustre/tests/sanity-pcc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.8.3.1