0

I am using redis-based cache in my application. I am running my integration tests on Codeship Basic and measuring the code coverage. I often see that the code coverage is different for two subsequent builds that use redis cache.

My hypothesis is that redis memory is shared between builds. Is this true?

I am using the default redis at port 6379.

Jan Grz
  • 1,373
  • 14
  • 18

1 Answers1

1

If Redis is utilizing the $HOME/cache directory within the build, then information would persist between builds. This seems unlikely as it would require a conscious configuration to make use of this directory.

You can read our dependency cache documentation to learn more.

Drew Kitch
  • 201
  • 1
  • 3
  • Thank you for the answer. I am not using `$HOME/cache` so that pretty much excludes my redis hypothesis. – Jan Grz Jul 19 '18 at 07:58