channeldb: log error for migration test failures

This commit is contained in:
Joost Jager 2019-09-28 08:18:14 +02:00
parent 7fcac54dff
commit f47de09850
No known key found for this signature in database
GPG Key ID: A61B9D4C393C59C7

@ -70,6 +70,9 @@ func applyMigration(t *testing.T, beforeMigration, afterMigration func(d *DB),
// Sync with the latest version - applying migration function.
err = cdb.syncVersions(versions)
if err != nil {
log.Error(err)
}
}
// TestVersionFetchPut checks the propernces of fetch/put methods