aboutsummaryrefslogtreecommitdiffstats
path: root/test/security/check_versions/env
diff options
context:
space:
mode:
authorPawel Wieczorek <p.wieczorek2@samsung.com>2020-10-29 12:04:58 +0100
committerPawel Wieczorek <p.wieczorek2@samsung.com>2020-11-25 15:55:49 +0100
commit782390acef88ade323003fd12f26e0ffa9ef27a0 (patch)
treea9519333f6aa08d478c6221f0af3c7ea9ed53fdf /test/security/check_versions/env
parentdf618d1b68cd4907db084a2f73cc43c6bc2bb12a (diff)
Make initial cluster setup more robust
Action "reset" triggers cluster shutdown attempt which will cause failure of subsequent calls for cluster status. Issue-ID: INT-1571 Change-Id: I4e607358fbeb910a250ac038cfc43682fb94bdea Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Diffstat (limited to 'test/security/check_versions/env')
-rw-r--r--test/security/check_versions/env/Vagrantfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/security/check_versions/env/Vagrantfile b/test/security/check_versions/env/Vagrantfile
index 28abbc504..9753a74ad 100644
--- a/test/security/check_versions/env/Vagrantfile
+++ b/test/security/check_versions/env/Vagrantfile
@@ -27,7 +27,8 @@ Vagrant.configure("2") do |config|
end
config.vm.provision :reload;
config.vm.provision "shell", privileged: false, inline: <<-end
- microk8s reset &&\
+ microk8s start &&\
+ microk8s status --wait-ready &&\
microk8s config > /home/vagrant/.kube/config &&\
microk8s kubectl apply -f /home/vagrant/k8s_bin_versions_inspector/env/configuration
end