mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
tests: log funder_faileds as unusual not broken
test_funding_cancel_race explicitly attempts to trigger this via a race condition; this conflicts with our post-test checks that no broken logs were logged. as a middle ground, we log it as unusual, not broken, as it's possible for it to attempt to fail if it was begun at the same time as the complete is.
This commit is contained in:
parent
789d14299b
commit
4638995037
@ -1005,7 +1005,7 @@ static unsigned int openingd_msg(struct subd *openingd,
|
||||
return 0;
|
||||
case WIRE_OPENING_FUNDER_FAILED:
|
||||
if (!uc->fc) {
|
||||
log_broken(openingd->log, "Unexpected FUNDER_FAILED %s",
|
||||
log_unusual(openingd->log, "Unexpected FUNDER_FAILED %s",
|
||||
tal_hex(tmpctx, msg));
|
||||
tal_free(openingd);
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user