chainntnfs: add verbose logging in unit test

This commit is contained in:
yyforyongyu 2024-06-12 03:49:04 +08:00
parent 9f34a4dc54
commit 6de1b026dd
No known key found for this signature in database
GPG key ID: 9BCD95C4FF296868

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)
}
}
}