Skip to content

Commit 7191b9d

Browse files
committed
Fixed metrics test
1 parent 3ea38ad commit 7191b9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/workers/storage/metrics_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ func (suite *MetricsTestSuite) TestGetMetricsBasics() {
217217
from := time.Date(2025, time.January, 1, 13, 0, 0, 0, time.UTC)
218218
to := time.Date(2025, time.January, 1, 13, 0, 5, 0, time.UTC)
219219
step := 10
220-
metrics, err := suite.stg.GetMetrics(from, to, step)
220+
metrics, err := suite.stg.GetMetrics(from, to, step, 0, 0)
221221

222222
assert.NoError(err)
223223
assert.Equal(from.Unix(), metrics["from"])

0 commit comments

Comments
 (0)