This commit is contained in:
Diamond Lewis
2019-07-10 14:19:40 -05:00
committed by Arthur Cinader
parent 76ce9e1a5c
commit 378e70afdc

View File

@@ -169,11 +169,12 @@ describe_only(() => {
describe_only(() => {
return process.env.PARSE_SERVER_TEST_CACHE === 'redis';
})('Redis Performance', function() {
const cacheAdapter = new RedisCacheAdapter();
let cacheAdapter;
let getSpy;
let putSpy;
beforeEach(async () => {
cacheAdapter = new RedisCacheAdapter();
await cacheAdapter.clear();
await reconfigureServer({
cacheAdapter,