More debugging

This commit is contained in:
Jason Fulghum
2023-10-11 14:20:59 -07:00
parent 52932c5577
commit 960f24df8a
2 changed files with 3 additions and 1 deletions

View File

@@ -16,6 +16,7 @@ package dtestutils
import (
"context"
"fmt"
"os"
"path/filepath"
@@ -84,7 +85,7 @@ func createTestEnvWithNameAndFilesystem(envName string, fs filesys.Filesys, home
if isInMemFs {
urlStr = doltdb.InMemDoltDB + envName
} else {
urlStr = doltdb.LocalDirDoltDB
urlStr = fmt.Sprintf("file://%s/.dolt/noms", envName)
}
dEnv := env.Load(context.Background(), homeDirFunc, fs, urlStr, "test")

View File

@@ -508,6 +508,7 @@ func (wr *journalWriter) Close() (err error) {
if wr.journal == nil {
logrus.Warn("journal writer has already been closed")
panic("journalWriter::Close(): This shouldn't happen!")
return nil
}