mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-07 16:13:07 +00:00
close db
This commit is contained in:
parent
b4b90485ef
commit
a045aa4ef1
@ -35,6 +35,7 @@ suite "Test Basic SQLiteDatastore":
|
|||||||
teardownAll:
|
teardownAll:
|
||||||
removeDir(basePathAbs)
|
removeDir(basePathAbs)
|
||||||
require(not dirExists(basePathAbs))
|
require(not dirExists(basePathAbs))
|
||||||
|
(await dsDb.close()).tryGet()
|
||||||
|
|
||||||
basicStoreTests(dsDb, key, bytes, otherBytes)
|
basicStoreTests(dsDb, key, bytes, otherBytes)
|
||||||
|
|
||||||
@ -63,6 +64,7 @@ suite "Test Read Only SQLiteDatastore":
|
|||||||
teardownAll:
|
teardownAll:
|
||||||
removeDir(basePathAbs)
|
removeDir(basePathAbs)
|
||||||
require(not dirExists(basePathAbs))
|
require(not dirExists(basePathAbs))
|
||||||
|
(await dsDb.close()).tryGet()
|
||||||
|
|
||||||
test "put":
|
test "put":
|
||||||
check:
|
check:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user