Commit d93e480
authored
tests, net, bridge-marker: Use 'wait_for_condition' resource method (RedHatQE#2535)
##### What this PR does / why we need it:
Use the existing 'wait_for_condition' to query for a specific condition.
Drop local implementation of condition parsing.
* Depends on enhanced 'wait_for_condition' method from the wrapper, in
which the 'reason' and 'message' arguments are available.
##### Which issue(s) this PR fixes:
##### Special notes for reviewer:
Depends on:
RedHatQE/openshift-python-wrapper#2544
##### 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**
* Updated bridge marker tests to replace a dedicated helper with direct
condition checks and an explicit short timeout, improving reliability
and clarity when asserting scheduling failures due to insufficient
bridge resources.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Signed-off-by: Edward Haas <edwardh@redhat.com>1 parent de90553 commit d93e480
1 file changed
Lines changed: 13 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | 130 | | |
146 | 131 | | |
147 | 132 | | |
| |||
151 | 136 | | |
152 | 137 | | |
153 | 138 | | |
154 | | - | |
155 | | - | |
156 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
157 | 145 | | |
158 | 146 | | |
159 | 147 | | |
| |||
180 | 168 | | |
181 | 169 | | |
182 | 170 | | |
183 | | - | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
0 commit comments