From 33e92035fabfd256fc135903fde9daf30cad7211 Mon Sep 17 00:00:00 2001 From: grakiss Date: Wed, 3 Feb 2016 03:09:41 -0500 Subject: FIX: sleep 3 second to release create_venv.sh from chmod command sometimes vIMS failed to create venv for "Text file busy",it should be a side effect of last command "chmod +x ..." Change-Id: I6a94b644e89988efa92afc46e9fbdeb8564db89e Signed-off-by: grakiss --- testcases/vIMS/CI/vIMS.py | 1 + 1 file changed, 1 insertion(+) diff --git a/testcases/vIMS/CI/vIMS.py b/testcases/vIMS/CI/vIMS.py index ae2ad9d21..a8ac97f5c 100644 --- a/testcases/vIMS/CI/vIMS.py +++ b/testcases/vIMS/CI/vIMS.py @@ -364,6 +364,7 @@ def main(): logger.info("Prepare virtualenv for cloudify-cli") cmd = "chmod +x " + VIMS_DIR + "create_venv.sh" functest_utils.execute_command(cmd, logger) + time.sleep(3) cmd = VIMS_DIR + "create_venv.sh " + VIMS_DATA_DIR functest_utils.execute_command(cmd, logger) -- cgit 1.2.3-korg