Skip to content

Commit f652888

Browse files
committed
fix(unit-tests): metrics collect length
Signed-off-by: Leonardo Cecchi <[email protected]>
1 parent 54dd226 commit f652888

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cnpgi/instance/metrics_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ var _ = Describe("Metrics Collect method", func() {
9898
res, err := m.Collect(ctx, req)
9999
Expect(err).ToNot(HaveOccurred())
100100
Expect(res).ToNot(BeNil())
101-
Expect(res.Metrics).To(HaveLen(2))
101+
Expect(res.Metrics).To(HaveLen(3))
102102

103103
// Verify the metrics
104104
metricsMap := make(map[string]float64)

0 commit comments

Comments
 (0)