From 2e2f002b64e84936c82e4605e8974085469caf11 Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Sat, 2 Nov 2024 07:42:57 +0800 Subject: [PATCH] x - print test mined blocks x - delete - print blocks x x pri --- lntest/harness.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lntest/harness.go b/lntest/harness.go index 7a7d7d2e7a..b59f534144 100644 --- a/lntest/harness.go +++ b/lntest/harness.go @@ -332,6 +332,9 @@ func (h *HarnessTest) Subtest(t *testing.T) *HarnessTest { "mined blocks=%d", st.manager.currentTestCase, startHeight, endHeight, endHeight-startHeight) + fmt.Printf("finished test: %s, %d, %d, %d\n", st.manager.currentTestCase, + startHeight, endHeight, endHeight-startHeight) + // Don't bother run the cleanups if the test is failed. if st.Failed() { st.Log("test failed, skipped cleanup")