mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-31 03:18:43 -06:00
More debugging
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user