Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
supercaracal committed Sep 26, 2024
1 parent 0e44fe2 commit 41e9a20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_against_cluster_scale.rb
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def self.test_order
end

def do_test_after_scaled_out
all_keys = NUMBER_OF_KEYS.flat_map { |i| ["key#{i}", "{group#{i / HASH_TAG_GRAIN}}:key#{i}"] }.sort
all_keys = Array.new(NUMBER_OF_KEYS) { |i| ["key#{i}", "{group#{i / HASH_TAG_GRAIN}}:key#{i}"] }.flatten.sort
count = 0

@client.scan do |key|
Expand All @@ -260,7 +260,7 @@ def do_test_after_scaled_out
end

def do_test_after_scaled_in
all_keys = NUMBER_OF_KEYS.flat_map { |i| ["key#{i}", "{group#{i / HASH_TAG_GRAIN}}:key#{i}"] }.sort
all_keys = Array.new(NUMBER_OF_KEYS) { |i| ["key#{i}", "{group#{i / HASH_TAG_GRAIN}}:key#{i}"] }.flatten.sort

retryable(attempts: 3) do
count = 0
Expand Down

0 comments on commit 41e9a20

Please sign in to comment.