Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <[email protected]>
  • Loading branch information
timvaillancourt committed Dec 12, 2024
1 parent eab79e9 commit ddf7514
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions go/vt/vtorc/logic/tablet_discovery_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,14 @@ func TestParseClustersToWatch(t *testing.T) {
in: []string{"test/-"},
expected: map[string]bool{"test/-": true},
},
{
in: []string{"test/-", "test2/-80", "test2/80-"},
expected: map[string]bool{
"test/-": true,
"test2/-80": true,
"test2/80-": true,
},
},
{
// confirm shards fetch from topo
in: []string{keyspace},
Expand Down

0 comments on commit ddf7514

Please sign in to comment.