From 5df680fb9f4d7828f4fe4ca901505a7b14418131 Mon Sep 17 00:00:00 2001 From: Alan Bernstein Date: Fri, 10 Apr 2020 12:00:37 -0500 Subject: [PATCH] Remove old metric from tests --- stats/stats_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stats/stats_test.go b/stats/stats_test.go index fe8eb65ac..8e9cb8de2 100644 --- a/stats/stats_test.go +++ b/stats/stats_test.go @@ -46,7 +46,7 @@ func TestMultiStatClient_Expvar(t *testing.T) { hldr.SetBit("d", "f", 0, pilosa.ShardWidth+2) hldr.ClearBit("d", "f", 0, 1) - indexStats := fmt.Sprintf(`{"%s": %d, "%s": %d, "%s": %d}`, pilosa.MetricClearBit, 1, pilosa.MetricMaximumRow, 0, pilosa.MetricSetBit, 4) + indexStats := fmt.Sprintf(`{"%s": %d, "%s": %d}`, pilosa.MetricClearBit, 1, pilosa.MetricSetBit, 4) if stats.Expvar.String() != `{"index:d": `+indexStats+`}` { t.Fatalf("unexpected expvar : %s", stats.Expvar.String())