Skip to content

Commit

Permalink
Stabilize the cluster suite
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed Aug 17, 2022
1 parent bb795e2 commit 91b087a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test/cluster/commands_on_cluster_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,11 @@ def test_cluster_slots
assert_equal true, sample_slot.fetch('master').key?('node_id')
assert_equal true, sample_slot.key?('replicas')
assert_equal true, sample_slot.fetch('replicas').is_a?(Array)
assert_equal true, sample_slot.fetch('replicas').first.key?('ip')
assert_equal true, sample_slot.fetch('replicas').first.key?('port')
assert_equal true, sample_slot.fetch('replicas').first.key?('node_id')
sample_slot.fetch('replicas').each do |replica|
assert_equal true, replica.key?('ip')
assert_equal true, replica.key?('port')
assert_equal true, replica.key?('node_id')
end
end

def test_readonly
Expand Down

0 comments on commit 91b087a

Please sign in to comment.