Skip to content

Commit 1baa668

Browse files
committed
Update e2e test
1 parent 02e1438 commit 1baa668

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/e2e/metrics_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ func TestMetricsReadAndWrite(t *testing.T) {
231231
v, w, err := v1.NewAPI(apiTest).LabelNames(context.Background(), nil, now.Time().Add(-5*time.Minute), now.Time())
232232
testutil.Ok(t, err)
233233
testutil.Equals(t, 0, len(w), "%v", w)
234-
testutil.Equals(t, []string{"__name__", "_id", "receive_replica", "tenant_id"}, v)
234+
testutil.Equals(t, model.LabelNames{"__name__", "_id", "receive_replica", "tenant_id"}, v)
235235

236236
// For attacker there should be no data.
237237
v, w, err = v1.NewAPI(apiAttacker).LabelNames(context.Background(), nil, now.Time().Add(-5*time.Minute), now.Time())

0 commit comments

Comments
 (0)