Fix test build failures on 32-bit arch again (#919)

Another case of untyped integer overflows on 32-bit arch.

Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
This commit is contained in:
Daniel Swarbrick
2023-09-21 14:58:46 +02:00
committed by GitHub
parent 30d7d25a7e
commit 51415a0e5b

View File

@@ -64,13 +64,13 @@ func TestPGStatWalReceiverCollectorWithFlushedLSN(t *testing.T) {
"foo", "foo",
"bar", "bar",
"stopping", "stopping",
1200668684563608, int64(1200668684563608),
1687321285, 1687321285,
1200668684563609, int64(1200668684563609),
1687321280, 1687321280,
1687321275, 1687321275,
1687321276, 1687321276,
1200668684563610, int64(1200668684563610),
1687321277, 1687321277,
5, 5,
) )
@@ -143,12 +143,12 @@ func TestPGStatWalReceiverCollectorWithNoFlushedLSN(t *testing.T) {
"foo", "foo",
"bar", "bar",
"starting", "starting",
1200668684563608, int64(1200668684563608),
1687321285, 1687321285,
1687321280, 1687321280,
1687321275, 1687321275,
1687321276, 1687321276,
1200668684563610, int64(1200668684563610),
1687321277, 1687321277,
5, 5,
) )