Commit 0e18367
Fix CI flakiness: retry on transient HTTP errors and add warm-up requests
The retry loop only retried on connection failure (HTTP 000) but not on
server errors (HTTP 500) caused by incomplete Wheels app initialization.
Additionally, tests ran immediately after the web server responded without
waiting for Wheels' onApplicationStart to complete (datasource verification,
model scanning, ORM metadata).
Changes:
- Retry on all transient errors (500, 000, etc.), stop only on 200 or 417
- Add warm-up request before first test run to trigger app initialization
- Add warm-up request after each between-DB container restart
- Apply same fixes to test-lucee7-mysql.yml
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent d05d44c commit 0e18367
2 files changed
Lines changed: 40 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
89 | 94 | | |
90 | 95 | | |
91 | 96 | | |
92 | 97 | | |
93 | | - | |
| 98 | + | |
94 | 99 | | |
95 | 100 | | |
96 | 101 | | |
| |||
101 | 106 | | |
102 | 107 | | |
103 | 108 | | |
104 | | - | |
105 | | - | |
106 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
107 | 116 | | |
108 | 117 | | |
109 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
239 | 247 | | |
240 | 248 | | |
241 | 249 | | |
| |||
264 | 272 | | |
265 | 273 | | |
266 | 274 | | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
267 | 283 | | |
268 | 284 | | |
269 | 285 | | |
| |||
275 | 291 | | |
276 | 292 | | |
277 | 293 | | |
278 | | - | |
| 294 | + | |
279 | 295 | | |
280 | 296 | | |
281 | 297 | | |
| |||
286 | 302 | | |
287 | 303 | | |
288 | 304 | | |
289 | | - | |
290 | | - | |
291 | | - | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
292 | 315 | | |
293 | 316 | | |
294 | 317 | | |
| |||
0 commit comments