fix(unit-tests): metrics collect length (#475)

Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
This commit is contained in:
Leonardo Cecchi 2025-08-14 17:01:56 +02:00 committed by GitHub
parent 54dd2261a0
commit e40ba7065a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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)