Skip to content

Commit 23d12f2

Browse files
committed
integration-tests: Disable fs.unlinkSync()
1 parent e3d6b97 commit 23d12f2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

integration-tests/tests/concurrency.test.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,8 @@ test("Concurrent operations with timeout should handle busy database", async (t)
184184

185185
conn1.close();
186186
conn2.close();
187-
fs.unlinkSync(path);
187+
// FIXME: Fails on Windows because file is still busy.
188+
// fs.unlinkSync(path);
188189
});
189190

190191

@@ -197,7 +198,8 @@ const connect = async (path_opt, options = {}) => {
197198

198199
const cleanup = async (context) => {
199200
context.db.close();
200-
fs.unlinkSync(context.path);
201+
// FIXME: Fails on Windows because file is still busy.
202+
// fs.unlinkSync(context.path);
201203
};
202204

203205
const generateUUID = () => {

0 commit comments

Comments
 (0)