Skip to content

Commit df07223

Browse files
maybe make node sync tests more stable
1 parent 4804531 commit df07223

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/node/tests/utils.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ export const mockSyncServiceTest = tempDirectoryTest.extend<{
150150

151151
const newConnection = async (options?: Partial<NodePowerSyncDatabaseOptions>) => {
152152
const db = await createDatabase(tmpdir, {
153+
// This might help with test stability/timeouts if a retry is needed
154+
retryDelayMs: 100,
153155
...options,
154156
database: {
155157
dbFilename: databaseName,

0 commit comments

Comments
 (0)