diff options
author | Victor Morales <victor.morales@intel.com> | 2017-10-18 09:29:55 -0700 |
---|---|---|
committer | Victor Morales <victor.morales@intel.com> | 2017-10-18 09:36:23 -0700 |
commit | cf26999de441d3e915ee011ddfa31a2bb1b1af15 (patch) | |
tree | 388c8623330539f0572088506d3692d1f83d48a4 /bootstrap/vagrant-onap/tests/_test_base | |
parent | 69cd717348e635d1a55689b22873b751cc5ff2b1 (diff) |
Fix proxy usage for docker external
The process that retrieves Docker images hosted externally was
missing a step in its configuration. This change fix the
configuration and unblock the pending Unit Tests.
Change-Id: I5a6b39086eb806bab5bb2667092a154e230d33ef
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: INT-227
Diffstat (limited to 'bootstrap/vagrant-onap/tests/_test_base')
-rw-r--r-- | bootstrap/vagrant-onap/tests/_test_base | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bootstrap/vagrant-onap/tests/_test_base b/bootstrap/vagrant-onap/tests/_test_base index 155de98bb..7d0415a44 100644 --- a/bootstrap/vagrant-onap/tests/_test_base +++ b/bootstrap/vagrant-onap/tests/_test_base @@ -15,6 +15,9 @@ function main { echo "ok $((i+1)) - test_${covered_functions[$i]}" # Teardown process + if ! is_package_installed docker-ce; then + docker images -q | xargs docker rmi -f + fi dpkg --get-selections > installed-software_new sort -o installed-software_new installed-software_new apt-get purge -y -qq $(comm -3 installed-software installed-software_new | awk '{print $1}') |