From 49579168e978db6d48bd2db8a6d9460e2b9ad3c7 Mon Sep 17 00:00:00 2001 From: Filip Blaha Date: Tue, 3 Feb 2015 12:53:15 +0100 Subject: [PATCH] Mistral integration functional tests - scripts Shell scripts preparing dsvm environment for mistral integration tests. Tests require devstack with Mistral installed. Jenkins job https://review.openstack.org/#/c/150401/ Partially Implements blueprint murano-mistral-integration Change-Id: I784e63a5f913d5a026b03571bd0dfbf79767fcc2 --- functionaltests/pre_test_hook_mistral.sh | 7 +++++++ ...run_tests_congress.sh => run_tests_congress_mistral.sh} | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100755 functionaltests/pre_test_hook_mistral.sh rename functionaltests/{run_tests_congress.sh => run_tests_congress_mistral.sh} (67%) diff --git a/functionaltests/pre_test_hook_mistral.sh b/functionaltests/pre_test_hook_mistral.sh new file mode 100755 index 000000000..0be1cc192 --- /dev/null +++ b/functionaltests/pre_test_hook_mistral.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +# Install Mistral devstack integration +source ./pre_test_hook_common.sh +MISTRAL_BASE=/opt/stack/new/mistral/contrib/devstack +cp $MISTRAL_BASE/lib/* $DEVSTACK_BASE/lib +cp $MISTRAL_BASE/extras.d/* $DEVSTACK_BASE/extras.d diff --git a/functionaltests/run_tests_congress.sh b/functionaltests/run_tests_congress_mistral.sh similarity index 67% rename from functionaltests/run_tests_congress.sh rename to functionaltests/run_tests_congress_mistral.sh index 14013c286..b4b134595 100755 --- a/functionaltests/run_tests_congress.sh +++ b/functionaltests/run_tests_congress_mistral.sh @@ -2,4 +2,4 @@ source ./run_tests_common.sh -nosetests -sv ../murano/tests/functional/engine/test_policy_enf.py \ No newline at end of file +nosetests -sv ../murano/tests/functional/engine/test_policy_enf.py ../murano/tests/functional/engine/test_mistral.py \ No newline at end of file