aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawel Wieczorek <p.wieczorek2@samsung.com>2020-10-29 12:04:58 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-11-26 08:13:41 +0000
commitce757c7345584c5769abee994a603b90570b264f (patch)
tree5b024849b9c9217269aeb615cca2f0596c2ff602
parent0fdd0ac7cb8addcd6ccdbbddecddc81625120b80 (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> (cherry picked from commit 782390acef88ade323003fd12f26e0ffa9ef27a0)
-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