Commit 392a846
committed
ci(e2e): restart job service after DB setup completes
The knative-job-service container boots in parallel with the kind
cluster and uses async-retry (factor: 2) to wait for app_jobs.jobs to
exist. When an early retry lands while the schema is still being seeded
by the constructive-db Job, the next retry is scheduled ~70s later -
longer than the e2e test's 30s waitForJobComplete window, causing
flakes (most recently E2E simple-email on PR #38).
Force-replace the pod after the DB setup Job completes so the new pod's
first prereqs check succeeds immediately. Adds ~3-8s per matrix entry
and removes the race.1 parent 3105b22 commit 392a846
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
142 | 147 | | |
143 | 148 | | |
144 | 149 | | |
| |||
0 commit comments