Skip to content

Commit

Permalink
Tests: Fix vdiff test breakage from concurrent merge (#14865)
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Lord <[email protected]>
  • Loading branch information
mattlord authored Dec 28, 2023
1 parent 4bb84ed commit ddcd4cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions go/test/endtoend/vreplication/vdiff2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ func TestVDiff2(t *testing.T) {
}

func testWorkflow(t *testing.T, vc *VitessCluster, tc *testCase, tks *Keyspace, cells []*Cell) {
vtgateConn := vc.GetVTGateConn(t)
defer vtgateConn.Close()
arrTargetShards := strings.Split(tc.targetShards, ",")
if tc.typ == "Reshard" {
require.NoError(t, vc.AddShards(t, cells, tks, tc.targetShards, 0, 0, tc.tabletBaseID, targetKsOpts))
Expand Down

0 comments on commit ddcd4cd

Please sign in to comment.