From ef38f8f2c74019cbfba4ed2a1a3b781e98f7e1f9 Mon Sep 17 00:00:00 2001 From: Joost Jager Date: Mon, 6 Apr 2020 21:32:26 +0200 Subject: [PATCH] itest: log failure time --- lntest/itest/lnd_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lntest/itest/lnd_test.go b/lntest/itest/lnd_test.go index d3365ab3..5f0c958d 100644 --- a/lntest/itest/lnd_test.go +++ b/lntest/itest/lnd_test.go @@ -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 } }