From: Jadhav Vikram Date: Thu, 9 Feb 2017 06:25:57 +0000 (+0530) Subject: LU-9509 tests: fix compilebench timeout X-Git-Tag: 2.10.51~76 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F31%2F27131%2F3;p=fs%2Flustre-release.git LU-9509 tests: fix compilebench timeout With ext4 and lustre found compilebench always takes more time in create dir operation whenever previous same test aborted without deleting directory. As per test board result, found compilebench test ran from suite parallel-scale-nfs.sh timedout before running from suite parallel-scale.sh, so 1st timedout compilebench not clear data, rerunning compilebench again causes timeout. Fix is creating different directory on each run of compilebench. Seagate-bug-id: MRP-3753 Signed-off-by: Jadhav Vikram Reviewed-by: Alexander Lezhoev Tested-by: Alexander Lezhoev Reviewed-by: Ashish Purkar Change-Id: I9b47e28fe5c638f4167c05fb68e46ec5e90de09e Reviewed-on: https://review.whamcloud.com/27131 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Jian Yu --- diff --git a/lustre/tests/functions.sh b/lustre/tests/functions.sh index 5723c2a..8800650 100644 --- a/lustre/tests/functions.sh +++ b/lustre/tests/functions.sh @@ -317,7 +317,7 @@ run_compilebench() { # t-f _base needs to be modifyed to set properly tdir # for new "test_foo" functions names # local testdir=$DIR/$tdir - local testdir=$dir/d0.compilebench + local testdir=$dir/d0.compilebench.$$ mkdir -p $testdir local savePWD=$PWD