From d343575104e1dadbe0a0296d4b61f7660fb5ff8a Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Thu, 21 May 2020 15:35:51 -0700 Subject: [PATCH] channeldb/migtest: log migration failure instead of failing This line was incorrectly moved when the migtest package was created for migration 12. This PR introduces a negative test for CreateTLB which surfaced this. --- channeldb/migtest/migtest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channeldb/migtest/migtest.go b/channeldb/migtest/migtest.go index 0b8e14f0..09edc033 100644 --- a/channeldb/migtest/migtest.go +++ b/channeldb/migtest/migtest.go @@ -74,7 +74,7 @@ func ApplyMigration(t *testing.T, // Apply migration. err = kvdb.Update(cdb, migrationFunc) if err != nil { - t.Fatal(err) + t.Logf("migration error: %v", err) } }