From 63f15b7b09a9d857d0e8f596c430cd8863291ae1 Mon Sep 17 00:00:00 2001 From: deepthi Date: Tue, 26 Jan 2021 19:08:52 -0800 Subject: [PATCH] reset counters in unit test Signed-off-by: deepthi --- go/vt/vttablet/tabletmanager/tm_state_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/go/vt/vttablet/tabletmanager/tm_state_test.go b/go/vt/vttablet/tabletmanager/tm_state_test.go index 2051274391f..dcf586f2d4b 100644 --- a/go/vt/vttablet/tabletmanager/tm_state_test.go +++ b/go/vt/vttablet/tabletmanager/tm_state_test.go @@ -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()