mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-09 09:04:25 +01:00
Revert "pytest: fix test_gossip_no_backtalk flake."
This reverts commit 6cc4858847.
No longer needed now we don't flush gossip rcvd_filter as aggressively.
This commit is contained in:
@@ -1766,7 +1766,7 @@ def test_gossip_announce_unknown_block(node_factory, bitcoind):
|
||||
sync_blockheight(bitcoind, [l1])
|
||||
|
||||
|
||||
@unittest.skipIf(DEVELOPER, "Developer gossip too fast!")
|
||||
@pytest.mark.developer("gossip without DEVELOPER=1 is slow")
|
||||
def test_gossip_no_backtalk(node_factory):
|
||||
# l3 connects, gets gossip, but should *not* play it back.
|
||||
l1, l2, l3 = node_factory.get_nodes(3,
|
||||
@@ -1779,8 +1779,8 @@ def test_gossip_no_backtalk(node_factory):
|
||||
r'\[IN\] 0102', r'\[IN\] 0102',
|
||||
r'\[IN\] 0101', r'\[IN\] 0101'])
|
||||
|
||||
# Will flush every 60 seconds, so definitely should by this time!
|
||||
time.sleep(90)
|
||||
# With DEVELOPER, this is long enough for gossip flush.
|
||||
time.sleep(2)
|
||||
assert not l3.daemon.is_in_log(r'\[OUT\] 0100')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user