Skip to content

Commit

Permalink
Merge pull request #1275 from supercaracal/fix-cluster-test
Browse files Browse the repository at this point in the history
Fix a failure of a test case for a cluster client
  • Loading branch information
byroot committed May 2, 2024
2 parents 48f76d7 + de5ea17 commit 15c8c92
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cluster/test/commands_on_keys_test.rb
Expand Up @@ -18,10 +18,7 @@ def set_some_keys
def test_del
set_some_keys

assert_raises(Redis::CommandError, "CROSSSLOT Keys in request don't hash to the same slot") do
redis.del('key1', 'key2')
end

assert_equal 2, redis.del('key1', 'key2')
assert_equal 2, redis.del('{key}1', '{key}2')
end

Expand Down

0 comments on commit 15c8c92

Please sign in to comment.