{"action":"opened","issue":{"url":"https://api.github.com/repos/hapijs/hapi/issues/3060","repository_url":"https://api.github.com/repos/hapijs/hapi","labels_url":"https://api.github.com/repos/hapijs/hapi/issues/3060/labels{/name}","comments_url":"https://api.github.com/repos/hapijs/hapi/issues/3060/comments","events_url":"https://api.github.com/repos/hapijs/hapi/issues/3060/events","html_url":"https://github.com/hapijs/hapi/issues/3060","id":136417825,"number":3060,"title":"Server.inject does not initialize cache","user":{"login":"tjsail33","id":3916501,"avatar_url":"https://avatars.githubusercontent.com/u/3916501?v=3","gravatar_id":"","url":"https://api.github.com/users/tjsail33","html_url":"https://github.com/tjsail33","followers_url":"https://api.github.com/users/tjsail33/followers","following_url":"https://api.github.com/users/tjsail33/following{/other_user}","gists_url":"https://api.github.com/users/tjsail33/gists{/gist_id}","starred_url":"https://api.github.com/users/tjsail33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjsail33/subscriptions","organizations_url":"https://api.github.com/users/tjsail33/orgs","repos_url":"https://api.github.com/users/tjsail33/repos","events_url":"https://api.github.com/users/tjsail33/events{/privacy}","received_events_url":"https://api.github.com/users/tjsail33/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-25T15:19:44Z","updated_at":"2016-02-25T15:19:44Z","closed_at":null,"body":"We are using Hapi and Lab for functional tests, and are wondering if there is any way to have Hapi initialize the cache while using server.inject.\r\n\r\nCurrently we have our env set up to use a Redis caching layer, however calls to `cache.isReady()` were always returning `false`. We specified only using Redis when we were not running tests, however the built in default `catbox-memory` cache has been returning `false` for `cache.isReady()` as well. This is making it hard for us to test our caching layer during functional tests, and we are wondering if there is a way around the cache not initializing short of manually creating the cache using `ioredis` or another library like that.\r\n\r\nThanks in advance."}}