Commit 1f36735
test(smoke): poll the control socket for the certificate check
After the post-config daemon restart Unit's controller (which serves the
control socket) can come up a moment after the router that already
answered the HTTP request, so a single probe of /certificates/<name> was
racy and failed intermittently on CI runners (8.4/8.5 red, 8.3 green by
luck). Poll for up to 30s, mirroring the HTTP readiness wait above.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 9ff0321 commit 1f36735
1 file changed
Lines changed: 15 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
178 | 182 | | |
179 | 183 | | |
180 | | - | |
181 | | - | |
182 | | - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
183 | 195 | | |
184 | 196 | | |
185 | 197 | | |
| |||
0 commit comments