itest: log failure time
This commit is contained in:
1 file changed
+4
@@ -15145,6 +15145,10 @@ func TestLightningNetworkDaemon(t *testing.T) {
|
|||||||
// Stop at the first failure. Mimic behavior of original test
|
// Stop at the first failure. Mimic behavior of original test
|
||||||
// framework.
|
// framework.
|
||||||
if !success {
|
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
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user