Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Commit fe046ee

Browse files
authored
cdc-bank: fix panic caused by nil pointer (#414)
Signed-off-by: zyguan <zhongyangguan@gmail.com>
1 parent 9aba11f commit fe046ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/cdc-bank/bank.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ func (c *client) Start(ctx context.Context, cfg interface{}, clientNodes []clust
118118
// all previous DDL and DML are replicated too.
119119
mustExec(ctx, upstream, `CREATE TABLE IF NOT EXISTS finishmark (foo BIGINT PRIMARY KEY)`)
120120
waitCtx, waitCancel := context.WithTimeout(ctx, time.Minute)
121-
waitTable(waitCtx, downstream, "finishmark")
121+
waitTable(waitCtx, db1, "finishmark")
122122
waitCancel()
123123
log.Info("all tables synced")
124124

0 commit comments

Comments
 (0)