Skip to content

Commit

Permalink
VReplication: CODEOWNERS and unit test housekeeping (vitessio#17646)
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Lord <[email protected]>
  • Loading branch information
mattlord authored Jan 28, 2025
1 parent 39a0ddd commit 9c6c380
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ go.sum @ajm188 @deepthi @harshit-gangal @mattlord @rohit-nayak-ps @systay @froui
/go/vt/vttablet/tabletmanager/rpc_throttler.go @shlomi-noach @mattlord @timvaillancourt
/go/vt/vttablet/tabletserver/throttle @shlomi-noach @mattlord @timvaillancourt
/go/vt/vttablet/tabletmanager/vreplication @rohit-nayak-ps @mattlord
/go/vt/vttablet/tabletmanager/vdiff @rohit-nayak-ps @mattlord
/go/vt/vttablet/tabletmanager/vstreamer @rohit-nayak-ps @mattlord
/go/vt/vttablet/tabletserver* @harshit-gangal @systay @shlomi-noach @rohit-nayak-ps @timvaillancourt
/go/vt/vttablet/tabletserver/messager @mattlord @rohit-nayak-ps @derekperkins
Expand Down
6 changes: 4 additions & 2 deletions go/vt/vtctl/workflow/traffic_switcher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,8 @@ func TestCancelMigration_TABLES(t *testing.T) {
err = topo.CheckKeyspaceLocked(ctx, ts.sourceKeyspace)
require.NoError(t, err)

ts.cancelMigration(ctx, sm)
err = ts.cancelMigration(ctx, sm)
require.NoError(t, err)

// Expect the queries to be cleared
assert.Empty(t, env.tmc.vrQueries[100])
Expand Down Expand Up @@ -1027,7 +1028,8 @@ func TestCancelMigration_SHARDS(t *testing.T) {
err = topo.CheckKeyspaceLocked(ctx, ts.sourceKeyspace)
require.NoError(t, err)

ts.cancelMigration(ctx, sm)
err = ts.cancelMigration(ctx, sm)
require.NoError(t, err)

// Expect the queries to be cleared
assert.Empty(t, env.tmc.vrQueries[100])
Expand Down

0 comments on commit 9c6c380

Please sign in to comment.