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.
This commit is contained in:
Conner Fromknecht 2020-05-21 15:35:51 -07:00
parent 32b04b7ac3
commit d343575104
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

@ -74,7 +74,7 @@ func ApplyMigration(t *testing.T,
// Apply migration. // Apply migration.
err = kvdb.Update(cdb, migrationFunc) err = kvdb.Update(cdb, migrationFunc)
if err != nil { if err != nil {
t.Fatal(err) t.Logf("migration error: %v", err)
} }
} }