chainntnfs: add verbose logging in unit test

This commit is contained in:
yyforyongyu committed 2024-06-13 17:54:34 +08:00
1 parent 9f34a4dc54
commit 6de1b026dd
1 file changed
+3 -1
+3 -1
View File
@@ -100,7 +100,9 @@ func syncNotifierWithMiner(t *testing.T, notifier *BitcoindNotifier,
select {
case <-time.After(100 * time.Millisecond):
case <-timeout:
t.Fatalf("timed out waiting to sync notifier")
t.Fatalf("timed out in syncNotifierWithMiner, got "+
"err=%v, minerHeight=%v, bitcoindHeight=%v",
err, minerHeight, bitcoindHeight)
}
}
}