grafana / xk6-kubernetes

Client extension for interacting with Kubernetes clusters from your k6 tests.
Apache License 2.0
62 stars 20 forks source link

Add helper function for waiting a Deployment is ready #74

Open pablochacin opened 1 year ago

pablochacin commented 1 year ago

When setting the resources for a test, it is a common case that after deployment an application as a Deployment, the test must wait until all the replicas are ready. This is a simple tasks, but having a helper function will prevent repeating the code across tests.