From 82cd7a115d659bbfc7e02044bca27b3668800b9c Mon Sep 17 00:00:00 2001 From: Tim Vaillancourt Date: Thu, 19 Dec 2024 07:03:34 +0100 Subject: [PATCH] lint Signed-off-by: Tim Vaillancourt --- go/vt/topo/stats_conn_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go/vt/topo/stats_conn_test.go b/go/vt/topo/stats_conn_test.go index bbc7ee311f8..31b7cb36072 100644 --- a/go/vt/topo/stats_conn_test.go +++ b/go/vt/topo/stats_conn_test.go @@ -209,7 +209,7 @@ func TestStatsConnTopoListDir(t *testing.T) { statsConn := NewStatsConn("global", conn, testStatsConnReadSem) ctx := context.Background() - semAcquiredChan := make(chan bool, 0 /* no buffer */) + semAcquiredChan := make(chan bool) go createTestReadSemaphoreContention(ctx, 100*time.Millisecond, semAcquiredChan) <-semAcquiredChan statsConn.ListDir(ctx, "", true) @@ -283,7 +283,7 @@ func TestStatsConnTopoGet(t *testing.T) { statsConn := NewStatsConn("global", conn, testStatsConnReadSem) ctx := context.Background() - semAcquiredChan := make(chan bool, 0 /* no buffer */) + semAcquiredChan := make(chan bool) go createTestReadSemaphoreContention(ctx, time.Millisecond*100, semAcquiredChan) <-semAcquiredChan statsConn.Get(ctx, "")