Skip to content

Commit

Permalink
FIX randomly failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
pubkey committed Aug 22, 2024
1 parent 40285e7 commit c4631d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/unit/rx-pipeline.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,7 @@ describeParallel('rx-pipeline.test.js', () => {
describe('multiInstance', () => {
if (
!config.storage.hasMultiInstance ||
config.storage.name === 'remote' || // TODO
config.storage.name === 'lokijs' // TODO
config.storage.name === 'remote' // TODO
) {
return;
}
Expand Down Expand Up @@ -205,7 +204,8 @@ describeParallel('rx-pipeline.test.js', () => {
await p1.awaitIdle();
await p2.awaitIdle();

assert.deepStrictEqual(runAt, ['c1', 'c1']);
assert.ok(runAt.length > 0);
runAt.forEach(i => assert.strictEqual(i, 'c1'))

c1.database.destroy();
c2.database.destroy();
Expand Down

0 comments on commit c4631d0

Please sign in to comment.