From e8b48d51c3c3228ab6ae2cf728992ec673de8633 Mon Sep 17 00:00:00 2001 From: Taishi Kasuga Date: Thu, 26 Sep 2024 15:30:46 +0900 Subject: [PATCH] fix --- test/test_against_cluster_scale.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_against_cluster_scale.rb b/test/test_against_cluster_scale.rb index 58d24825..c54a241e 100644 --- a/test/test_against_cluster_scale.rb +++ b/test/test_against_cluster_scale.rb @@ -248,7 +248,7 @@ def self.test_order end def do_test_after_scaled_out - all_keys = NUMBER_OF_KEYS.map { |i| "key#{i}" } + all_keys = Array.new(NUMBER_OF_KEYS) { |i| "key#{i}" } count = 0 @client.scan do |key| @@ -260,7 +260,7 @@ def do_test_after_scaled_out end def do_test_after_scaled_in - all_keys = NUMBER_OF_KEYS.map { |i| "key#{i}" } + all_keys = Array.new(NUMBER_OF_KEYS) { |i| "key#{i}" } retryable(attempts: 3) do count = 0