Skip to content

Commit

Permalink
x - print test mined blocks
Browse files Browse the repository at this point in the history
x - delete - print blocks

x

x

pri
  • Loading branch information
yyforyongyu committed Nov 16, 2024
1 parent 1e0725a commit bb25ca0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lntest/harness.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit bb25ca0

Please sign in to comment.