Skip to content

Commit b75a1f1

Browse files
authored
chore: remove a guard clause for no point in a testing tool (#81)
1 parent aba5078 commit b75a1f1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/cluster_controller.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ def initialize(node_addrs,
1515
state_check_attempts: DEFAULT_MAX_ATTEMPTS,
1616
**kwargs)
1717

18-
raise "Redis Cluster requires at least #{shard_size} master nodes." if node_addrs.size < shard_size
19-
2018
@shard_size = shard_size
2119
@replica_size = replica_size
2220
@number_of_replicas = @replica_size * @shard_size

0 commit comments

Comments
 (0)