itest: log failure time

This commit is contained in:
Joost Jager committed 2020-04-09 08:20:58 +02:00
1 parent af14f2e425
commit ef38f8f2c7
1 file changed
+4
+4
View File
@@ -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
}
}