core-lightning/tests
Rusty Russell e59cbb3e2c pytest: make sure receiving peer's openingd is ready.
There's now a potential race: the source peer connect returns, but in
destination peer the master hasn't read the connect message from
connectd, so the peer isn't in listpeers yet.

(Previously the connection stayed in connectd, so there was no such
window).

This is an occasional issue in a few places.

Note that we take the opportunity to speed up test_disconnectpeer too
while we're there.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-08-09 19:44:27 +02:00
..
benchmark.py pytest: Remove test_lightningd and all the legacy testing framework 2018-08-07 00:54:19 +00:00
conftest.py pytest: Pass result to fixtures and keep directories of failed tests 2018-08-07 00:54:19 +00:00
fixtures.py pytest: Use the file object and don't use print without line-endings 2018-08-07 00:54:19 +00:00
requirements.txt test: add pytest-xdist to the python test requirements 2018-07-26 23:18:37 +02:00
test_closing.py pytest: make sure receiving peer's openingd is ready. 2018-08-09 19:44:27 +02:00
test_connection.py pytest: make sure receiving peer's openingd is ready. 2018-08-09 19:44:27 +02:00
test_gossip.py pytest: make sure receiving peer's openingd is ready. 2018-08-09 19:44:27 +02:00
test_invoices.py pytest: Move invoice-related tests into their own file 2018-08-07 00:54:19 +00:00
test_misc.py pytest: only use dev-allow-localhost when needed. 2018-08-09 19:44:27 +02:00
test_pay.py openingd: take peer before we're opening, wait for explicit funding msg. 2018-08-09 19:44:27 +02:00
utils.py pytest: make sure receiving peer's openingd is ready. 2018-08-09 19:44:27 +02:00