From ea2c0d826dc71d2c8f969f36d3dd19713d9fe90f Mon Sep 17 00:00:00 2001 From: Manan Gupta Date: Fri, 15 Nov 2024 10:49:44 +0530 Subject: [PATCH] feat: fix build error Signed-off-by: Manan Gupta --- go/vt/vttablet/tabletserver/health_streamer_test.go | 2 +- go/vt/vttablet/tabletserver/messager/engine_test.go | 2 +- go/vt/vttablet/tabletserver/schema/engine.go | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go/vt/vttablet/tabletserver/health_streamer_test.go b/go/vt/vttablet/tabletserver/health_streamer_test.go index c5fe93bcf6c..a3be9b77ce1 100644 --- a/go/vt/vttablet/tabletserver/health_streamer_test.go +++ b/go/vt/vttablet/tabletserver/health_streamer_test.go @@ -597,7 +597,7 @@ func TestDeadlockBwCloseAndReload(t *testing.T) { go func() { defer wg.Done() for i := 0; i < 100; i++ { - se.BroadcastForTesting(nil, nil, nil, true) + se.BroadcastForTesting(nil, nil, nil) } }() diff --git a/go/vt/vttablet/tabletserver/messager/engine_test.go b/go/vt/vttablet/tabletserver/messager/engine_test.go index a28af647249..b5a97bd1c0e 100644 --- a/go/vt/vttablet/tabletserver/messager/engine_test.go +++ b/go/vt/vttablet/tabletserver/messager/engine_test.go @@ -193,7 +193,7 @@ func TestDeadlockBwCloseAndSchemaChange(t *testing.T) { go func() { defer wg.Done() for i := 0; i < 100; i++ { - se.BroadcastForTesting(nil, nil, nil, true) + se.BroadcastForTesting(nil, nil, nil) } }() diff --git a/go/vt/vttablet/tabletserver/schema/engine.go b/go/vt/vttablet/tabletserver/schema/engine.go index ebe2143b819..ab896ffb7b6 100644 --- a/go/vt/vttablet/tabletserver/schema/engine.go +++ b/go/vt/vttablet/tabletserver/schema/engine.go @@ -744,10 +744,10 @@ func (se *Engine) broadcast(created, altered, dropped []*Table) { } // BroadcastForTesting is meant to be a testing function that triggers a broadcast call. -func (se *Engine) BroadcastForTesting(created, altered, dropped []*Table, udfsChanged bool) { +func (se *Engine) BroadcastForTesting(created, altered, dropped []*Table) { se.mu.Lock() defer se.mu.Unlock() - se.broadcast(created, altered, dropped, udfsChanged) + se.broadcast(created, altered, dropped) } // GetTable returns the info for a table.