From 12077a31b71bca401f893e18b6070d06855289f4 Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Sat, 9 Jan 2021 22:08:54 -0800 Subject: [PATCH] Reduce memory usage of large multipart copy tests --- tests/requests/storage/multipart_copy_tests.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/requests/storage/multipart_copy_tests.rb b/tests/requests/storage/multipart_copy_tests.rb index f57cde919..f050c2c9f 100644 --- a/tests/requests/storage/multipart_copy_tests.rb +++ b/tests/requests/storage/multipart_copy_tests.rb @@ -3,7 +3,7 @@ require 'securerandom' Shindo.tests('Fog::Storage[:aws] | copy requests', ["aws"]) do @directory = Fog::Storage[:aws].directories.create(:key => uniq_id('fogmultipartcopytests')) - @large_data = SecureRandom.hex * 19 * 1024 * 1024 + @large_data = SecureRandom.hex * 600000 @large_blob = Fog::Storage[:aws].put_object(@directory.identity, 'large_object', @large_data) tests('copies an empty object') do