chainntnfs: add verbose logging in unit test
This commit is contained in:
1 file changed
+3
-1
@@ -100,7 +100,9 @@ func syncNotifierWithMiner(t *testing.T, notifier *BitcoindNotifier,
|
|||||||
select {
|
select {
|
||||||
case <-time.After(100 * time.Millisecond):
|
case <-time.After(100 * time.Millisecond):
|
||||||
case <-timeout:
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user