core-lightning/tests
Rusty Russell 55a09d79b9 pytest: make test_gossip_no_empty_announcements robust when update delayed.
In this test we tell l3 to disconnect on sending WIRE_CHANNEL_ANNOUNCEMENT.
This is hit by gossipd (to disconnect from l2) but *also* channeld to
disconnect from l4.  That's OK, because normally by this point l4 has
sent its real channel_update.

However, the next patch introduces a delay in sending channel_updates,
meaning l4 hasn't sent it yet.  If l3 doesn't reconnect to l4, we
never get the channel_update and the test which expects l1 to eventually
see both sides of the channel fails.

So we manually reconnect then.  Note that we remove the redundant
'dev-no-reconnect' option from l2: it's added automatically as it
doesn't set 'may_reconnect'.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-07-07 16:07:53 +02:00
..
benchmark.py pytest: Actually wait for payments to confirm in benchmark 2018-05-23 00:20:19 +00:00
fixtures.py Makefile: import config.vars. 2018-06-08 17:56:01 +02:00
requirements.txt pytest: Add flaky dependency and mark as test_closing_different_fees 2018-05-07 02:40:50 +00:00
test_closing.py tests: reenable developer tests. 2018-06-13 16:22:23 +02:00
test_gossip.py options: refuse two --announce-addr of the same type. 2018-07-01 15:03:21 +02:00
test_lightningd.py pytest: make test_gossip_no_empty_announcements robust when update delayed. 2018-07-07 16:07:53 +02:00
utils.py pytest: allow duplicated options. 2018-07-01 15:03:21 +02:00