Add conditions to check for aerospike version >=5.1 before we run e2e tests #22228
+15 −1
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.
What does this PR do?
This PR also introduces a criterion that our setup checks before running the e2e tests. The tests are currently broken on master. I addressed version ≥ 5.0 in #22176. However, after merging that change, master was still failing the e2e tests, even though the Aerospike tests for the failing environments were passing.
The hypothesis is that this happens because the tests in the PR were running in parallel. When run in parallel, each environment spins up its own runner and isolated environment and needs to pull its own agent. This additional download time gives the environment enough time to calculate latency. When the tests run sequentially, however, the runner already has the Datadog Agent image cached, which speeds up environment spin-up.
Logs when running in sequence (currently failing):
Logs when running in parallel:
Misc:
Output when it's not ready:
Output when ready: