mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
Reduce memory usage of large multipart copy tests
This commit is contained in:
parent
3546408e47
commit
12077a31b7
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ require 'securerandom'
|
||||||
Shindo.tests('Fog::Storage[:aws] | copy requests', ["aws"]) do
|
Shindo.tests('Fog::Storage[:aws] | copy requests', ["aws"]) do
|
||||||
|
|
||||||
@directory = Fog::Storage[:aws].directories.create(:key => uniq_id('fogmultipartcopytests'))
|
@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)
|
@large_blob = Fog::Storage[:aws].put_object(@directory.identity, 'large_object', @large_data)
|
||||||
|
|
||||||
tests('copies an empty object') do
|
tests('copies an empty object') do
|
||||||
|
|
Loading…
Reference in a new issue