Whamcloud - gitweb
LU-15484 tests: Increase timeout to wait for child 64/46764/4
authorPatrick Farrell <pfarrell@whamcloud.com>
Wed, 9 Mar 2022 15:15:22 +0000 (10:15 -0500)
committerOleg Drokin <green@whamcloud.com>
Sat, 11 Jun 2022 05:49:29 +0000 (05:49 +0000)
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 <pfarrell@whamcloud.com>
Change-Id: I57175ec2f0e948045cf88d4a13a1e56cc34f8407
Reviewed-on: https://review.whamcloud.com/46764
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/tests/sanity-pcc.sh

index 53da75b..9ce8b47 100644 (file)
@@ -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