From 053fcc254a5023840eb39d1d67ae3cc553c9fd48 Mon Sep 17 00:00:00 2001 From: Daniel Grau Date: Tue, 11 Jul 2023 22:56:06 +0000 Subject: [PATCH] Fix wait fp tests --- cloudbuild/fp-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudbuild/fp-test.sh b/cloudbuild/fp-test.sh index df56425e..409e9f7a 100755 --- a/cloudbuild/fp-test.sh +++ b/cloudbuild/fp-test.sh @@ -15,7 +15,7 @@ while read -r test_path; do kubectl cluster-info dump --output-directory "/tmp/cluster-log/${test_path/\//-}" --namespaces openconfig-lemming fi kne delete "${kne_topology}" - sleep 10 # Give namespace time to be deleted + kubectl wait --for=delete namespace/openconfig-lemming --timeout=60s done < ../fp-tests exit "$rc" \ No newline at end of file