k8up-io / k8up

Kubernetes and OpenShift Backup Operator
https://k8up.io/
Apache License 2.0
601 stars 62 forks source link

Make e2e tests more reliable #944

Closed Kidswiss closed 4 months ago

Kidswiss commented 4 months ago

Summary

kubectl run --attach proved to be rather unreliable. It often was not able to attach to the newly created pod. There were various different error messages. Ranging from pod not found to cutoff log outputs.

By running the pod, waiting and then printing the logs, it improved the reliability by a lot. Where it previously failed ever so often, I was not able to have it fail once with the new function so far.

Checklist

For Code changes