Commit d63e98f
committed
test: wait for initial GitRepo sync before checking webhook deployment
The webhook test was failing because it checked for the deployed pod
immediately after creating the GitRepo, but with polling disabled (24h),
the GitRepo never performed an initial sync. This caused the test to
timeout waiting for a deployment that was never created.
Added a wait for the GitRepo status to show a commit, ensuring the
initial sync completes before checking for the deployed resources.1 parent 54f2673 commit d63e98f
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
290 | 296 | | |
291 | 297 | | |
292 | 298 | | |
| |||
0 commit comments