Skip to content

Commit 5c021d8

Browse files
Merge pull request #128 from Apollon77/master
optimize testing for redis to avoid false positives
2 parents 84c3283 + 709f5d7 commit 5c021d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/testStatesRedis.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function cleanDbs() {
2424

2525
describe('States-Redis: Test states', function() {
2626
before('States-Redis: Start js-controller', function (_done) {
27-
this.timeout(5000);
27+
this.timeout(10000);
2828
cleanDbs();
2929

3030
setup.startController({
@@ -50,7 +50,7 @@ describe('States-Redis: Test states', function() {
5050
states.subscribe('*');
5151
expect(objects).to.be.ok;
5252
expect(states).to.be.ok;
53-
_done();
53+
setTimeout(_done, 5000);
5454
}
5555
);
5656
});

0 commit comments

Comments
 (0)