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:
@@ -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,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user