aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/tests/test_mr
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2017-11-20 16:38:28 -0800
committerVictor Morales <victor.morales@intel.com>2017-11-20 16:38:28 -0800
commitf1f1ba5dac1b531c346758072c798ceb511100b3 (patch)
treea571f9e83be31abd3c63595c04a46dcd7e901a7d /bootstrap/vagrant-onap/tests/test_mr
parent25bfc6b99f73bd02047dcc13e64390140777402a (diff)
Refactor clone and compile functions
The clone_all_* and compile_all_* functions share same instructions for performing their functionality. This change pretends to reduce the duplication of the code. Change-Id: Ief63a5a58c79af85c829602b0451637424659438 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-339
Diffstat (limited to 'bootstrap/vagrant-onap/tests/test_mr')
-rwxr-xr-x[-rw-r--r--]bootstrap/vagrant-onap/tests/test_mr4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap/vagrant-onap/tests/test_mr b/bootstrap/vagrant-onap/tests/test_mr
index a863b99ba..c08d2e66b 100644..100755
--- a/bootstrap/vagrant-onap/tests/test_mr
+++ b/bootstrap/vagrant-onap/tests/test_mr
@@ -9,7 +9,7 @@ covered_functions=(
# test_clone_mr_repos() - Verify that Message Router repositories are cloned properly
function test_clone_mr_repos {
- clone_mr_repos
+ clone_repo dcae/demo/startup/message-router $mr_src_folder
asserts_file_exist $mr_src_folder/deploy.sh
}
@@ -24,7 +24,7 @@ function test_get_mr_images {
# test_install_message_router() - Verify the built and start of Message Router services
function test_install_message_router {
- clone_mr_repos
+ clone_repo dcae/demo/startup/message-router $mr_src_folder
get_mr_images
install_message_router