From 4638995037738de08005a6cb58070b936ebb5a28 Mon Sep 17 00:00:00 2001 From: lisa neigut Date: Mon, 8 Jul 2019 17:18:45 -0500 Subject: [PATCH] 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. --- lightningd/opening_control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightningd/opening_control.c b/lightningd/opening_control.c index cc5bc2a6e..9253e7266 100644 --- a/lightningd/opening_control.c +++ b/lightningd/opening_control.c @@ -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;