fix(unit-tests): metrics collect length

Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
This commit is contained in:
Leonardo Cecchi 2025-08-14 16:59:18 +02:00
parent 54dd2261a0
commit f6528880c4

View File

@ -98,7 +98,7 @@ var _ = Describe("Metrics Collect method", func() {
res, err := m.Collect(ctx, req)
Expect(err).ToNot(HaveOccurred())
Expect(res).ToNot(BeNil())
Expect(res.Metrics).To(HaveLen(2))
Expect(res.Metrics).To(HaveLen(3))
// Verify the metrics
metricsMap := make(map[string]float64)