Skip to content

Commit 667238d

Browse files
SionoiSdarshankabariya
authored andcommitted
Disable flaky test (#3585)
1 parent 71c1fa2 commit 667238d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/waku_store_sync/test_protocol.nim

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ suite "Waku Sync: reconciliation":
506506
let (_, deliveredHash) = await remoteNeeds.get()
507507
check deliveredHash in diffMsgHashes
508508

509-
asyncTest "sync 2 nodes, 40 msgs: 18 in-window diff, 20 out-window ignored":
509+
#[ asyncTest "sync 2 nodes, 40 msgs: 17 in-window diff, 20 out-window ignored":
510510
server = await newTestWakuRecon(
511511
serverSwitch, @[], @[], DefaultSyncRange, idsChannel, localWants, remoteNeeds
512512
)
@@ -515,10 +515,10 @@ suite "Waku Sync: reconciliation":
515515
)
516516
517517
const
518-
diffInWin = 18
518+
diffInWin = 17
519519
diffOutWin = 20
520520
stepOutNs = 100_000_000'u64
521-
outOffsetNs = 2_300_000_000'u64 # for 20 mesg they sent 2 seconds earlier
521+
outOffsetNs = 3_000_000_000'u64 # for 20 mesg they sent 2 seconds earlier
522522
523523
randomize()
524524
@@ -572,7 +572,7 @@ suite "Waku Sync: reconciliation":
572572
for _ in 0 ..< diffInWin:
573573
let (_, deliveredHashes) = await remoteNeeds.popFirst()
574574
check deliveredHashes in inWinHashes
575-
check deliveredHashes notin outWinHashes
575+
check deliveredHashes notin outWinHashes ]#
576576

577577
asyncTest "hash-fingerprint collision, same timestamp – stable sort":
578578
server = await newTestWakuRecon(

0 commit comments

Comments
 (0)