Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixup: cmci int tests retries and program install timeouts #141

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

andrewhughes101
Copy link
Collaborator

SUMMARY

Fixes the timeouts in the cmci integration tests. When a program install takes too long for one request we were retrying when the task failed. If the program hasnt finished installing the ansible task would return a CPSM nodata response but the task would also succeed (failed = false). This means we wouldnt retry the task and hence fail the assertion.

This fix allows us to retry if we get a nodata response up to 5 times (I increased this from 3 as it consistently takes at least 3 attempts at the moment so thought I would give us a ,little more retry-ability). This means the test will also fail if the first task returns a failed status which is more accurate for a failing scenario

ISSUE TYPE
  • Bugfix Pull Request

@Tom-Latham Tom-Latham merged commit ff06d5c into ansible-collections:main Oct 25, 2024
4 checks passed
@andrewhughes101 andrewhughes101 deleted the cmci-int-tests branch October 25, 2024 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants