Commit 8a8ea6f
authored
Storage: added stop condition to storage checkups tests (#2741)
##### Short description:
Added stop_condition (Failed) to positive storage checkups tests, to
avoid waiting for the expected condition until the full timeout expired,
in case the checkup job had already reached Failed state.
##### More details:
This PR depends on
RedHatQE/openshift-python-wrapper#2585 PR.
##### What this PR does / why we need it:
##### Which issue(s) this PR fixes:
##### Special notes for reviewer:
##### jira-ticket:
<!-- full-ticket-url needs to be provided. This would add a link to the
pull request to the jira and close it when the pull request is merged
If the task is not tracked by a Jira ticket, just write "NONE".
-->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Tests**
* Improved test job-wait logic to better handle stop conditions for
failed jobs.
* Expanded exception handling to catch additional condition-related
errors during waits.
* Enhanced timeout/error messages to include the underlying error text
for clearer diagnostics.
<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent f923b66 commit 8a8ea6f
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| 150 | + | |
149 | 151 | | |
150 | 152 | | |
151 | 153 | | |
152 | 154 | | |
153 | 155 | | |
| 156 | + | |
154 | 157 | | |
155 | | - | |
| 158 | + | |
156 | 159 | | |
157 | 160 | | |
158 | 161 | | |
| |||
163 | 166 | | |
164 | 167 | | |
165 | 168 | | |
| 169 | + | |
166 | 170 | | |
167 | 171 | | |
168 | 172 | | |
| |||
0 commit comments