From d15fe1fbb261107b021cd6ebe8b8c435d2148e0f Mon Sep 17 00:00:00 2001 From: Jadhav Vikram Date: Thu, 9 Feb 2017 11:55:57 +0530 Subject: [PATCH] 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 --- lustre/tests/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.8.3.1