From 9ec2a342e1269346e5c4e6474532155e9b1b3e5f Mon Sep 17 00:00:00 2001 From: Rafael Chacon Date: Thu, 5 Dec 2019 13:35:27 -0800 Subject: [PATCH] Fixes regression in test due to a race merging PR's to master Signed-off-by: Rafael Chacon --- go/vt/vttablet/tabletmanager/vreplication/vplayer_test.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/go/vt/vttablet/tabletmanager/vreplication/vplayer_test.go b/go/vt/vttablet/tabletmanager/vreplication/vplayer_test.go index 3bf34135eb8..6b553609cdb 100644 --- a/go/vt/vttablet/tabletmanager/vreplication/vplayer_test.go +++ b/go/vt/vttablet/tabletmanager/vreplication/vplayer_test.go @@ -591,7 +591,13 @@ func TestPlayerKeyspaceID(t *testing.T) { Filter: "select id, keyspace_id() as val from src1", }}, } - cancel, _ := startVReplication(t, filter, binlogdatapb.OnDDLAction_IGNORE, "") + bls := &binlogdatapb.BinlogSource{ + Keyspace: env.KeyspaceName, + Shard: env.ShardName, + Filter: filter, + OnDdl: binlogdatapb.OnDDLAction_IGNORE, + } + cancel, _ := startVReplication(t, bls, "") defer cancel() testcases := []struct {