Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
huntharo committed May 8, 2022
1 parent d03fc71 commit cee0562
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/backend/backendConnector.parallel.spec.js
Expand Up @@ -30,7 +30,7 @@ describe('BackendConnector with sleepy backend', () => {
expect(connector.store.getResourceBundle('en', 'namespace1')).to.eql({
status: 'ok',
});
expect(connector.backend.parallelCallsHighWaterMark).not.to.eql(1000);
expect(connector.backend.parallelCallsHighWaterMark).to.be.lessThan(100);
done();
});
});
Expand Down
2 changes: 1 addition & 1 deletion test/backend/backendMockSleepy.js
Expand Up @@ -19,7 +19,7 @@ class Backend {
setTimeout(() => {
this.parallelCalls--;
return callback(null, { status: 'ok' });
}, 5000);
}, 1000);
}
}

Expand Down

0 comments on commit cee0562

Please sign in to comment.