Skip to content

Commit 0e2b6dc

Browse files
committed
FIX randomly failing test
1 parent 1ad97a9 commit 0e2b6dc

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

test/unit/reactive-query.test.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ import {
88
schemas,
99
humansCollection,
1010
isFastMode,
11-
HumanDocumentType
11+
HumanDocumentType,
12+
getConfig
1213
} from '../../plugins/test-utils/index.mjs';
1314

1415
import AsyncTestUtil, { wait, waitUntil } from 'async-test-util';
@@ -151,6 +152,12 @@ describeParallel('reactive-query.test.js', () => {
151152
c.database.close();
152153
});
153154
it('groups live query write bursts before _ensureEqual when enabled', async () => {
155+
if (
156+
isFastMode() ||
157+
getConfig().storage.name.includes('random-delay')
158+
) {
159+
return;
160+
}
154161
const db = await createRxDatabase({
155162
name: randomToken(10),
156163
storage: config.storage.getStorage(),

0 commit comments

Comments
 (0)