From 332d7d80bd470bb78ed154a5b5416554686a7196 Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Mon, 6 Nov 2017 11:51:37 -0800 Subject: Reduce the number of update_repo calls The update_repo function allows to fetch repository metadata. This function can take some time during the initial provisioning time. This change reduce the number of calls to that function. Change-Id: I2a0b0f13f7a3e6b37f0c0316ae9730a3ed840238 Signed-off-by: Victor Morales Issue-Id: INT-324 --- bootstrap/vagrant-onap/tests/_test_base | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bootstrap/vagrant-onap/tests') diff --git a/bootstrap/vagrant-onap/tests/_test_base b/bootstrap/vagrant-onap/tests/_test_base index 7d0415a44..78c7f8bb4 100644 --- a/bootstrap/vagrant-onap/tests/_test_base +++ b/bootstrap/vagrant-onap/tests/_test_base @@ -1,11 +1,13 @@ #!/bin/bash source /var/onap_tests/asserts +source /var/onap/commons # main() - Starting point for Unit Tests function main { local covered_functions=("$@") + update_repos len=${#covered_functions[@]} echo "1..$len" for i in ${!covered_functions[@]}; do -- cgit 1.2.3-korg