From 4bd9ea1e77d669932efe15fb26768a5a7d54b074 Mon Sep 17 00:00:00 2001 From: Aditya Vyas Date: Fri, 16 Feb 2024 16:33:18 -0500 Subject: [PATCH] Update metrics_test.go --- cmd/soroban-rpc/internal/test/metrics_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/soroban-rpc/internal/test/metrics_test.go b/cmd/soroban-rpc/internal/test/metrics_test.go index 964de7c3..e32330b5 100644 --- a/cmd/soroban-rpc/internal/test/metrics_test.go +++ b/cmd/soroban-rpc/internal/test/metrics_test.go @@ -43,6 +43,7 @@ func TestMetrics(t *testing.T) { break } } + assert.NotNil(t, metric) val := metric.Metric[0].Counter.GetValue() assert.GreaterOrEqual(t, val, 2.0) }