Skip to content

Commit

Permalink
improve test
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
  • Loading branch information
timvaillancourt committed Feb 8, 2025
1 parent c25a860 commit abefcb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions go/vt/vtorc/logic/tablet_discovery_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -866,6 +866,7 @@ func TestGetAllTablets(t *testing.T) {
require.Equal(t, []string{"zone3", "zone4"}, failedCells)

for _, tablets := range tabletsByCell {
require.Len(t, tablets, 1)
for _, tablet := range tablets {
require.Equal(t, t.Name(), tablet.Tablet.GetHostname())
}
Expand Down

0 comments on commit abefcb6

Please sign in to comment.