Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <[email protected]>
  • Loading branch information
timvaillancourt committed Dec 19, 2024
1 parent 4736966 commit 82cd7a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/vt/topo/stats_conn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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, "")
Expand Down

0 comments on commit 82cd7a1

Please sign in to comment.