Skip to content

Commit f0211a8

Browse files
committed
ci: increase timeout delete-ns tests
This test has shown to be a flake on multiple ocassions. After running it locally a dozen of times, my conclusion is that the time it takes for Kubernetes to shutdown a Pod may sometimes take a tiny bit longer than anticipated by the current timeout. Therefore, increase it to 5 minutes and provide more context on the state of the namespace in case a timeout occurs. Signed-off-by: Hidde Beydals <hidde@hhh.computer>
1 parent 56ceb30 commit f0211a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/e2e.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -538,10 +538,11 @@ jobs:
538538
kubectl -n delete-ns wait helmreleases/podinfo --for=condition=ready --timeout=2m
539539
kubectl delete ns delete-ns 1>/dev/null 2>&1 &
540540
echo -n ">>> Waiting for namespace to be deleted"
541-
if kubectl wait --for=delete namespace delete-ns --timeout=3m; then
541+
if kubectl wait --for=delete namespace delete-ns --timeout=5m; then
542542
echo ' Namespace deleted successfully'
543543
else
544544
echo ' Timed out waiting for namespace to be deleted'
545+
kubectl get all -n delete-ns
545546
exit 1
546547
fi
547548
- name: Run post-renderer-kustomize test

0 commit comments

Comments
 (0)