File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
files/gitlab-cookbooks/gitlab/libraries
spec/chef/cookbooks/gitlab/recipes Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3
3
4
4
class RedisHelper
5
5
REDIS_INSTANCES = %w[ cache queues shared_state trace_chunks rate_limiting sessions repository_cache cluster_rate_limiting ] . freeze
6
- ALLOWED_REDIS_CLUSTER_INSTANCE = %w[ rate_limiting cluster_rate_limiting ] . freeze
6
+ ALLOWED_REDIS_CLUSTER_INSTANCE = %w[ cache rate_limiting cluster_rate_limiting ] . freeze
7
7
8
8
def initialize ( node )
9
9
@node = node
Original file line number Diff line number Diff line change 5
5
6
6
let ( :chef_run ) { ChefSpec ::SoloRunner . new ( step_into : %w( templatesymlink runit_service ) ) . converge ( 'gitlab::default' ) }
7
7
let ( :redis_instances ) { RedisHelper ::REDIS_INSTANCES }
8
- let ( :redis_cluster_instances ) { %w( cluster_rate_limiting ) }
8
+ let ( :redis_cluster_instances ) { %w( cache rate_limiting cluster_rate_limiting ) }
9
9
let ( :config_dir ) { '/var/opt/gitlab/gitlab-rails/etc/' }
10
10
let ( :default_vars ) do
11
11
{
325
325
end
326
326
327
327
context 'with multiple redis cluster instance' do
328
- %w( queues shared_state trace_chunks sessions cache ) . each do |instance |
328
+ %w( queues shared_state trace_chunks sessions ) . each do |instance |
329
329
it_should_behave_like 'instances does not support redis cluster' , instance
330
330
end
331
331
You can’t perform that action at this time.
0 commit comments