diff options
author | Gabriel Mazetto <gabriel@gitlab.com> | 2016-08-06 04:01:52 +0300 |
---|---|---|
committer | Gabriel Mazetto <gabriel@gitlab.com> | 2016-08-06 05:15:16 +0300 |
commit | ed0a7c254ab32130296fb7ee467f655d200d7854 (patch) | |
tree | 42714bb5b3fafea87d3b889da94474b788897f26 /spec/fixtures | |
parent | ce41b5c73f7574ec19c47f24e9450ff1b54ef1b1 (diff) |
Small refactor in Redis class and improved specs
Diffstat (limited to 'spec/fixtures')
-rw-r--r-- | spec/fixtures/config/redis_new_format_host.yml | 6 | ||||
-rw-r--r-- | spec/fixtures/config/redis_old_format_socket.yml | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/spec/fixtures/config/redis_new_format_host.yml b/spec/fixtures/config/redis_new_format_host.yml index 5e5bf6e0ccd..13772677a45 100644 --- a/spec/fixtures/config/redis_new_format_host.yml +++ b/spec/fixtures/config/redis_new_format_host.yml @@ -1,7 +1,7 @@ # redis://[:password@]host[:port][/db-number][?option=value] # more details: http://www.iana.org/assignments/uri-schemes/prov/redis development: - url: redis://:mypassword@localhost:6379/99 + url: redis://:mynewpassword@localhost:6379/99 sentinels: - host: localhost @@ -10,7 +10,7 @@ development: host: slave2 port: 26381 # point to sentinel, not to redis port test: - url: redis://:mypassword@localhost:6379/99 + url: redis://:mynewpassword@localhost:6379/99 sentinels: - host: localhost @@ -19,7 +19,7 @@ test: host: slave2 port: 26381 # point to sentinel, not to redis port production: - url: redis://:mypassword@localhost:6379/99 + url: redis://:mynewpassword@localhost:6379/99 sentinels: - host: slave1 diff --git a/spec/fixtures/config/redis_old_format_socket.yml b/spec/fixtures/config/redis_old_format_socket.yml index cb39b6fb9e2..fd31ce8ea3d 100644 --- a/spec/fixtures/config/redis_old_format_socket.yml +++ b/spec/fixtures/config/redis_old_format_socket.yml @@ -1,3 +1,3 @@ -development: unix:/path/to/redis.sock -test: unix:/path/to/redis.sock -production: unix:/path/to/redis.sock +development: unix:/path/to/old/redis.sock +test: unix:/path/to/old/redis.sock +production: unix:/path/to/old/redis.sock |