Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
  • Loading branch information
rohit-nayak-ps committed Dec 30, 2024
1 parent e029da1 commit 40f4302
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 70 deletions.
50 changes: 0 additions & 50 deletions go/test/endtoend/vreplication/r

This file was deleted.

17 changes: 0 additions & 17 deletions go/test/endtoend/vreplication/r2

This file was deleted.

6 changes: 3 additions & 3 deletions go/vt/vtgate/vindexes/vschema_routing_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ func TestAutoGlobalRoutingBasic(t *testing.T) {
Tables: map[string]*vschemapb.Table{
"table5": {}, // unique, should be added to global routing
"scommon1": {}, // common with unsharded1 and unsharded2, should be added to global routing because it's in the vschema
"scommon2": {}, // common with unsharded2, ambiguous because of sharded2
"scommon2": {}, // common with unsharded2, not ambiguous because sharded2 sets RequireExplicitRouting
},
}
sharded2 := &vschemapb.Keyspace{
Expand All @@ -250,8 +250,8 @@ func TestAutoGlobalRoutingBasic(t *testing.T) {
// none should be considered for choice as global or ambiguous because of RequireExplicitRouting
Tables: map[string]*vschemapb.Table{
"table6": {}, // unique
"scommon2": {}, // common with sharded2, but has RequireExplicitRouting
"scommon3": {}, // common with sharded2
"scommon2": {}, // common with sharded1, but has RequireExplicitRouting
"scommon3": {}, // unique
},
}
for _, ks := range []*vschemapb.Keyspace{sharded1, sharded2} {
Expand Down

0 comments on commit 40f4302

Please sign in to comment.