Skip to content

Commit cbfe48a

Browse files
committed
Fix static code checks
Signed-off-by: twthorn <thomaswilliamthornton@gmail.com>
1 parent b78d5d7 commit cbfe48a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

go/test/endtoend/vreplication/vreplication_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,17 @@ var (
5555
defaultReplicas int
5656
sourceKsOpts = make(map[string]string)
5757
targetKsOpts = make(map[string]string)
58+
defaultTargetKsOpts = make(map[string]string)
5859
httpClient = throttlebase.SetupHTTPClient(time.Second)
5960
sourceThrottlerAppName = throttlerapp.VStreamerName
6061
targetThrottlerAppName = throttlerapp.VReplicationName
6162
)
6263

64+
const (
65+
defaultSourceKs = "product"
66+
defaultTargetKs = "customer"
67+
)
68+
6369
const (
6470
// for some tests we keep an open transaction during a Switch writes and commit it afterwards, to reproduce https://github.com/vitessio/vitess/issues/9400
6571
// we also then delete the extra row (if) added so that the row counts for the future count comparisons stay the same

0 commit comments

Comments
 (0)