mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-07 16:33:08 +00:00
Disable flaky test (#3585)
This commit is contained in:
parent
7b580dbf39
commit
262d33e394
@ -506,7 +506,7 @@ suite "Waku Sync: reconciliation":
|
|||||||
let (_, deliveredHash) = await remoteNeeds.get()
|
let (_, deliveredHash) = await remoteNeeds.get()
|
||||||
check deliveredHash in diffMsgHashes
|
check deliveredHash in diffMsgHashes
|
||||||
|
|
||||||
asyncTest "sync 2 nodes, 40 msgs: 18 in-window diff, 20 out-window ignored":
|
#[ asyncTest "sync 2 nodes, 40 msgs: 17 in-window diff, 20 out-window ignored":
|
||||||
server = await newTestWakuRecon(
|
server = await newTestWakuRecon(
|
||||||
serverSwitch, @[], @[], DefaultSyncRange, idsChannel, localWants, remoteNeeds
|
serverSwitch, @[], @[], DefaultSyncRange, idsChannel, localWants, remoteNeeds
|
||||||
)
|
)
|
||||||
@ -515,10 +515,10 @@ suite "Waku Sync: reconciliation":
|
|||||||
)
|
)
|
||||||
|
|
||||||
const
|
const
|
||||||
diffInWin = 18
|
diffInWin = 17
|
||||||
diffOutWin = 20
|
diffOutWin = 20
|
||||||
stepOutNs = 100_000_000'u64
|
stepOutNs = 100_000_000'u64
|
||||||
outOffsetNs = 2_300_000_000'u64 # for 20 mesg they sent 2 seconds earlier
|
outOffsetNs = 3_000_000_000'u64 # for 20 mesg they sent 2 seconds earlier
|
||||||
|
|
||||||
randomize()
|
randomize()
|
||||||
|
|
||||||
@ -572,7 +572,7 @@ suite "Waku Sync: reconciliation":
|
|||||||
for _ in 0 ..< diffInWin:
|
for _ in 0 ..< diffInWin:
|
||||||
let (_, deliveredHashes) = await remoteNeeds.popFirst()
|
let (_, deliveredHashes) = await remoteNeeds.popFirst()
|
||||||
check deliveredHashes in inWinHashes
|
check deliveredHashes in inWinHashes
|
||||||
check deliveredHashes notin outWinHashes
|
check deliveredHashes notin outWinHashes ]#
|
||||||
|
|
||||||
asyncTest "hash-fingerprint collision, same timestamp – stable sort":
|
asyncTest "hash-fingerprint collision, same timestamp – stable sort":
|
||||||
server = await newTestWakuRecon(
|
server = await newTestWakuRecon(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user