Skip to content

Commit 2da2a27

Browse files
authored
Fixing Redis adapter tests (#5599)
1 parent dc7d3f1 commit 2da2a27

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/RedisCacheAdapter.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ describe_only(() => {
3939
.put(KEY, VALUE)
4040
.then(() => cache.get(KEY))
4141
.then(value => expect(value).toEqual(VALUE))
42-
.then(wait.bind(null, 2))
42+
.then(wait.bind(null, 5))
4343
.then(() => cache.get(KEY))
4444
.then(value => expect(value).toEqual(null))
4545
.then(done);
@@ -62,7 +62,7 @@ describe_only(() => {
6262
.put(KEY, VALUE, Infinity)
6363
.then(() => cache.get(KEY))
6464
.then(value => expect(value).toEqual(VALUE))
65-
.then(wait.bind(null, 1))
65+
.then(wait.bind(null, 5))
6666
.then(() => cache.get(KEY))
6767
.then(value => expect(value).toEqual(VALUE))
6868
.then(done);
@@ -78,7 +78,7 @@ describe_only(() => {
7878
.put(KEY, VALUE, ttl)
7979
.then(() => cache.get(KEY))
8080
.then(value => expect(value).toEqual(VALUE))
81-
.then(wait.bind(null, 2))
81+
.then(wait.bind(null, 5))
8282
.then(() => cache.get(KEY))
8383
.then(value => expect(value).toEqual(null))
8484
);

0 commit comments

Comments
 (0)