e2e: the smoke test runs the health pass after the reconcile, as domainsLoop does
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 file changed,
+7
−2
e2e_test.go+7 −2
diff --git a/e2e_test.go b/e2e_test.go| index 9e63d7cb3..e0928d1b6 100644 |
| --- a/e2e_test.go |
| +++ b/e2e_test.go |
| @@ -418,14 +418,19 @@ func TestEndToEndSmoke(t *testing.T) { |
| // echoapp was shipped under ops above, so ops is where it mints; the |
| // two-account case is TestMultiAccountEndToEnd. |
| acctSqid := release.OpsAccount |
| - if err := domains.Reconcile(ctx, store, reg, domains.Config{ |
| + dcfg := domains.Config{ |
| AppsDomain: "oncarlos.test", |
| EdgeIPs: []string{"203.0.113.7"}, |
| Resolve: func(host string) ([]string, error) { return []string{"203.0.113.7"}, nil }, |
| Now: time.Now, |
| - }); err != nil { |
| + } |
| + if err := domains.Reconcile(ctx, store, reg, dcfg); err != nil { |
| t.Fatalf("domains.Reconcile: %v", err) |
| } |
| + // The per-box health pass follows the reconcile, as domainsLoop runs it (#303). |
| + if err := domains.StampHealth(ctx, reg, dcfg, nil); err != nil { |
| + t.Fatalf("domains.StampHealth: %v", err) |
| + } |
| platformHost := "echoapp." + acctSqid + ".oncarlos.test" |
| prt, err := reg.Get(platformHost) |
| if err != nil { |