From 457f066e081f6858033863dffd02c668403c2f56 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Mon, 20 Nov 2023 12:41:46 +0100 Subject: [PATCH] tests/trustedcoin: fix Sometimes trustedcoin outputs `tip: 0`. Check for `returning block` instead. --- test/tests.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/tests.py b/test/tests.py index 784a5e6..a122a6d 100644 --- a/test/tests.py +++ b/test/tests.py @@ -451,8 +451,7 @@ def _(): expect_clightning_log("plugin-trustedcoin[^^]\[0m\s+estimatefees error: none of the esploras returned usable responses") if "regtest" in enabled_tests: num_blocks = test_data["num_blocks"] - expect_clightning_log(f"plugin-trustedcoin[^^]\[0m\s+tip: {num_blocks}") - expect_clightning_log("plugin-trustedcoin[^^]\[0m\s+returning block") + expect_clightning_log(f"plugin-trustedcoin[^^]\[0m\s+returning block {num_blocks}") if "netns-isolation" in enabled_tests: