Redis service does not start properly

redis

#1

I have the following in my circle.yml and the build log shows that redis-server was started but when I try to run my specs the server isn’t running.

machine:
  services:
    - elasticsearch
    - redis

If I manually try to start the server later in the dependencies section I can get the server to start but I don’t think it should be working this way.

dependencies:
  override:
    - sudo service redis-server status || sudo service redis-server start

#2

Does this happen consistently?

We are aware of some flakiness with redis and are still looking into the root cause. However, if this is happening during every build then that is a separate issue.


#3

Yes this happens every time we run a build.


#4

Out of curiosity, have you noticed whether or not Redis stability has improved? Thanks!


#5