itest: log failure time

This commit is contained in:
Joost Jager 2020-04-06 21:32:26 +02:00
parent af14f2e425
commit ef38f8f2c7
No known key found for this signature in database
GPG Key ID: A61B9D4C393C59C7

@ -15145,6 +15145,10 @@ func TestLightningNetworkDaemon(t *testing.T) {
// Stop at the first failure. Mimic behavior of original test
// framework.
if !success {
// Log failure time to help relate the lnd logs to the
// failure.
t.Logf("Failure time: %v",
time.Now().Format("2006-01-02 15:04:05.000"))
break
}
}