From 1f1e0fbab3ae832a2279a0a5c080d4a6c0226353 Mon Sep 17 00:00:00 2001 From: Craig Peterson Date: Wed, 22 Mar 2017 10:41:54 -0600 Subject: [PATCH] log corrections on second run --- integrationTest/integration_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/integrationTest/integration_test.go b/integrationTest/integration_test.go index cf08ab705..371a4bec6 100644 --- a/integrationTest/integration_test.go +++ b/integrationTest/integration_test.go @@ -131,7 +131,10 @@ func runTests(t *testing.T, prv providers.DNSServiceProvider, domainName string, t.Fatal(err) } if len(corrections) != 0 { - t.Fatalf("Expected 0 corrections on second run, but found %d.", len(corrections)) + t.Logf("Expected 0 corrections on second run, but found %d.", len(corrections)) + for i, c := range corrections { + t.Logf("#%d: %s", i, c.Msg) + } } })