diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/golite.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/golite.go b/tests/golite.go index cde5ad5..1cb9436 100644 --- a/tests/golite.go +++ b/tests/golite.go @@ -1093,6 +1093,11 @@ func TestFileCopyTruncate(t *testing.T) { } }() + _, err = db.Exec("PRAGMA journal_mode = delete;") + if err != nil { + t.Fatal("journal_mode delete:", err) + } + ctx, cancel := context.WithTimeout(context.Background(), 55*time.Second) err = db.PingContext(ctx) cancel() |