Skip to content

Commit 378e70a

Browse files
dplewisacinader
authored andcommitted
Fix #5794 (#5797)
1 parent 76ce9e1 commit 378e70a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/RedisCacheAdapter.spec.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,12 @@ describe_only(() => {
169169
describe_only(() => {
170170
return process.env.PARSE_SERVER_TEST_CACHE === 'redis';
171171
})('Redis Performance', function() {
172-
const cacheAdapter = new RedisCacheAdapter();
172+
let cacheAdapter;
173173
let getSpy;
174174
let putSpy;
175175

176176
beforeEach(async () => {
177+
cacheAdapter = new RedisCacheAdapter();
177178
await cacheAdapter.clear();
178179
await reconfigureServer({
179180
cacheAdapter,

0 commit comments

Comments
 (0)