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:
lisa neigut 2019-07-08 17:18:45 -05:00 committed by neil saitug
parent 789d14299b
commit 4638995037
1 changed files with 1 additions and 1 deletions

View File

@ -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;