Commit 0d1cee7
committed
fix(core): Use WaitStrategy internally for wait_for function
Refactor the deprecated wait_for function to use the new WaitStrategy system
internally instead of the @wait_container_is_ready decorator.
The decorator emitted a deprecation warning at decoration time (import time),
causing warnings even when users never called wait_for.
Replace with an internal CallableWaitStrategy that uses WaitStrategy._poll()
for retry logic. This follows the intended migration path to the new system.
Fixes #8741 parent c785ecd commit 0d1cee7
1 file changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
216 | 215 | | |
217 | 216 | | |
218 | 217 | | |
| |||
222 | 221 | | |
223 | 222 | | |
224 | 223 | | |
225 | | - | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
226 | 233 | | |
227 | 234 | | |
228 | 235 | | |
| |||
0 commit comments