mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 22:45:27 +01:00
pytest: ignore private updates in test_addgossip.
This was triggering on private updates after gossip changes. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> 1diff --git a/tests/test_gossip.py b/tests/test_gossip.py index 677ec4825..285290b71 100644
This commit is contained in:
parent
0a8003a4d2
commit
bfa81f30e1
1 changed files with 6 additions and 2 deletions
|
@ -1987,8 +1987,12 @@ def test_addgossip(node_factory):
|
|||
l1.daemon.logsearch_start = 0
|
||||
ann = l1.daemon.wait_for_log(r"\[(OUT|IN)\] 0100.*") # Either direction will suppress the other.
|
||||
|
||||
upd1 = l1.daemon.is_in_log(r"\[OUT\] 0102.*")
|
||||
upd2 = l2.daemon.is_in_log(r"\[OUT\] 0102.*")
|
||||
l2.daemon.logsearch_start = 0
|
||||
l2.daemon.wait_for_log(r"\[(OUT|IN)\] 0100.*")
|
||||
|
||||
# Be sure not to get the *private* updates!
|
||||
upd1 = l1.daemon.is_in_log(r"\[OUT\] 0102.*", start=l1.daemon.logsearch_start)
|
||||
upd2 = l2.daemon.is_in_log(r"\[OUT\] 0102.*", start=l2.daemon.logsearch_start)
|
||||
|
||||
nann1 = l1.daemon.is_in_log(r"\[OUT\] 0101.*")
|
||||
nann2 = l2.daemon.is_in_log(r"\[OUT\] 0101.*")
|
||||
|
|
Loading…
Add table
Reference in a new issue