Skip to content

Commit

Permalink
reset counters in unit test
Browse files Browse the repository at this point in the history
Signed-off-by: deepthi <[email protected]>
  • Loading branch information
deepthi committed Jan 27, 2021
1 parent 2f6b03f commit 63f15b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions go/vt/vttablet/tabletmanager/tm_state_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ func TestStateNonServing(t *testing.T) {
func TestStateChangeTabletType(t *testing.T) {
ctx := context.Background()
ts := memorytopo.NewServer("cell1")
statsTabletTypeCount.ResetAll()
tm := newTestTM(t, ts, 2, "ks", "0")
defer tm.Stop()

Expand Down

0 comments on commit 63f15b7

Please sign in to comment.