pytest: restore and fix disabled test test_excluded_adjacent_routehint.

1. It was flaky, probably because it didn't wait for the remote update_channel.
2. Rusty applied a fix in 5f664dac77, not clear if it worked.
3. Christian disabled it altogether in 23ce9a947d.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2026-01-07 09:48:11 +10:30
parent 9ad505acec
commit 25fb75e4be
2 changed files with 8 additions and 3 deletions

View File

@@ -286,7 +286,8 @@ static void connect_failed(struct lightningd *ld,
* does simply combine those, so we don't get a response per request, and it's a
* very rare corner case (which, unlike the above, doesn't happen in CI!).
*/
if (strstarts(connect_reason, "connect command")) {
if (strstarts(connect_reason, "connect command")
|| errcode == CONNECT_DISCONNECTED_DURING) {
/* We can have multiple connect commands: fail them all */
while ((c = find_connect(ld, id)) != NULL) {
/* They delete themselves from list */