From 2da2a27373d56bc2b30370d9dd35566557837c9d Mon Sep 17 00:00:00 2001 From: Antonio Davi Macedo Coelho de Castro Date: Thu, 16 May 2019 15:26:45 -0700 Subject: [PATCH] Fixing Redis adapter tests (#5599) --- spec/RedisCacheAdapter.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/RedisCacheAdapter.spec.js b/spec/RedisCacheAdapter.spec.js index 1b2dbcc9..10653a5f 100644 --- a/spec/RedisCacheAdapter.spec.js +++ b/spec/RedisCacheAdapter.spec.js @@ -39,7 +39,7 @@ describe_only(() => { .put(KEY, VALUE) .then(() => cache.get(KEY)) .then(value => expect(value).toEqual(VALUE)) - .then(wait.bind(null, 2)) + .then(wait.bind(null, 5)) .then(() => cache.get(KEY)) .then(value => expect(value).toEqual(null)) .then(done); @@ -62,7 +62,7 @@ describe_only(() => { .put(KEY, VALUE, Infinity) .then(() => cache.get(KEY)) .then(value => expect(value).toEqual(VALUE)) - .then(wait.bind(null, 1)) + .then(wait.bind(null, 5)) .then(() => cache.get(KEY)) .then(value => expect(value).toEqual(VALUE)) .then(done); @@ -78,7 +78,7 @@ describe_only(() => { .put(KEY, VALUE, ttl) .then(() => cache.get(KEY)) .then(value => expect(value).toEqual(VALUE)) - .then(wait.bind(null, 2)) + .then(wait.bind(null, 5)) .then(() => cache.get(KEY)) .then(value => expect(value).toEqual(null)) );