don't sleep for infinity but 2 hours instead #435
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This pull request primarily updates the sleep durations for various BusyBox sidecar containers and test scripts across multiple Kubernetes fixtures and test files, changing them from indefinite or long-running sleeps to a fixed 7200 seconds (2 hours). Additionally, it includes a minor improvement to the cluster cleaner script to prevent failures when querying deleted resources, and bumps the image version for the cluster cleaner.
Kubernetes fixtures and pod specs:
argsfrom"infinity"or long sleep values to"7200"seconds in multiple test fixture files (mongodb-multi-central-sts-override.yaml,mongodb-multi-sts-override.yaml,om_ops_manager_pod_spec.yaml,replica-set-custom-podspec.yaml,sharded-cluster-custom-podspec.yaml,standalone-custom-podspec.yaml) to avoid issues with indefinite sleep and improve test reliability.Test deployment templates:
mongodb-enterprise-tests.yamlto usesleep 7200instead ofsleep 3600for consistency with other changes.Cluster cleaner maintenance:
clean-failed-namespaces.shby suppressing errors when querying for deleted resources, ensuring the script continues deletion without failing.IMAGE_VERSIONin the cluster cleanerMakefilefrom0.14to0.15to reflect these updates.Proof of Work
Checklist
skip-changeloglabel if not needed