activator: requireHeldQuiet takes main's syncBuffer log capture
The main merge changed captureLog to return *syncBuffer; the takeover test helper still took *strings.Builder, so the package's tests did not compile (CI).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+1
−1
internal/activator/hatakeover_test.go+1 −1
diff --git a/internal/activator/hatakeover_test.go b/internal/activator/hatakeover_test.go| index 5e1fc8b48..850a3ba46 100644 |
| --- a/internal/activator/hatakeover_test.go |
| +++ b/internal/activator/hatakeover_test.go |
| @@ -282,7 +282,7 @@ func TestFastLiveHolderRaisesNoAlarm(t *testing.T) { |
| ctx := context.Background() |
| live := func() time.Time { return time.Now().Add(10 * time.Minute) } |
| expired := func() time.Time { return time.Now().Add(-time.Minute) } |
| - requireHeldQuiet := func(t *testing.T, b *ExecBackend, rt registry.Route, body []byte, logs *strings.Builder, owner string) { |
| + requireHeldQuiet := func(t *testing.T, b *ExecBackend, rt registry.Route, body []byte, logs *syncBuffer, owner string) { |
| t.Helper() |
| _, err := b.Acquire(ctx, rt) |
| var held *errLeaseHeld |