Skip to content

Commit aabf1c9

Browse files
authored
CI: fix to Online DDL flow test, do not t.Log from within a goroutine (#17496)
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
1 parent b865d13 commit aabf1c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

go/test/endtoend/onlineddl/flow/onlineddl_flow_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ func TestOnlineDDLFlow(t *testing.T) {
244244
select {
245245
case <-ticker.C:
246246
case <-workloadCtx.Done():
247-
t.Logf("Terminating routine throttler check")
247+
fmt.Println("Terminating routine throttler check")
248248
return
249249
}
250250
}
@@ -258,8 +258,8 @@ func TestOnlineDDLFlow(t *testing.T) {
258258
wg.Add(1)
259259
go func() {
260260
defer cancel()
261-
defer t.Logf("Terminating workload")
262261
defer wg.Done()
262+
defer fmt.Println("Terminating workload")
263263
runMultipleConnections(workloadCtx, t)
264264
}()
265265
})

0 commit comments

Comments
 (0)