channeldb/test: test with postgres

This commit is contained in:
Joost Jager committed 2021-10-29 10:54:44 +02:00
1 parent 7c048efa21
commit d997bbf6b3
13 files changed
+152 -3

No files matched your search

+5
View File
@@ -25,6 +25,11 @@ import (
func TestOpenWithCreate(t *testing.T) {
t.Parallel()
// Checking for db file existence is not possible with postgres.
if kvdb.PostgresBackend {
t.Skip()
}
// First, create a temporary directory to be used for the duration of
// this test.
tempDirName, err := ioutil.TempDir("", "channeldb")