Pass the resync interval in the golden tag functional test (#1673)

#1522 added a resyncInterval parameter to NewActorTemplateReconciler and
#1523 added this call site. They landed without seeing each other, so
`main` doesn't compile.

SEt the resyncInterval to 7s, to match what we have in other tests

- [x] Tests pass
- [x] Appropriate changes to documentation are included in the PR
This commit is contained in:
Luiz Oliveira
2026-09-16 10:36:35 -04:00
committed by GitHub
parent a58481a18e
commit a0d306ee6c
@@ -161,7 +161,7 @@ func TestGoldenTagLifecycle(t *testing.T) {
if err != nil {
t.Fatal(err)
}
controlapi.NewActorTemplateReconciler(tc.persistence, tc.service).Start(ctx)
controlapi.NewActorTemplateReconciler(tc.persistence, tc.service, 7*time.Second).Start(ctx)
var goldenRef *ateapipb.ObjectRef
err = wait.PollUntilContextTimeout(ctx, 50*time.Millisecond, 30*time.Second, true, func(ctx context.Context) (bool, error) {
current, err := tc.client.GetActorTemplate(ctx, &ateapipb.GetActorTemplateRequest{ActorTemplate: templateRef.ToObjectRef()})