Skip to content

Commit 6dca12b

Browse files
committed
fix test
1 parent 2a67c97 commit 6dca12b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: collector/pg_stat_wal_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func TestPGStatWALCollector(t *testing.T) {
3838
}
3939

4040
rows := sqlmock.NewRows(columns).
41-
AddRow(354, 4945, int64(289097744), 1242257, 3275602074, 89320867, 450.123439, 1234.5678, srT)
41+
AddRow(354, 4945, 289097744, 1242257, int(3275602074), 89320867, 450.123439, 1234.5678, srT)
4242
mock.ExpectQuery(sanitizeQuery(statWALQuery(columns))).WillReturnRows(rows)
4343

4444
ch := make(chan prometheus.Metric)

0 commit comments

Comments
 (0)