Browse Source

pytest: Attempting to fix the flaky gossip test

This seems to happen when we manage to check between the
channel_announcement and the channel_update being processed.

Signed-off-by: Christian Decker <decker.christian@gmail.com>
ppa-0.6.1
Christian Decker 7 years ago
committed by Rusty Russell
parent
commit
547d3f0a0b
  1. 2
      tests/test_lightningd.py

2
tests/test_lightningd.py

@ -1285,7 +1285,7 @@ class LightningDTests(BaseLightningDTests):
channels = l1.rpc.getchannels()['channels']
assert len(channels) == 2
assert [c['active'] for c in channels] == [True, True]
wait_for(lambda: [c['active'] for c in channels] == [True, True])
def ping_tests(self, l1, l2):
# 0-byte pong gives just type + length field.

Loading…
Cancel
Save