We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd72278 commit 6efa69aCopy full SHA for 6efa69a
gems/aws-sdk-s3/spec/object/upload_file_spec.rb
@@ -169,6 +169,10 @@ module S3
169
end
170
171
it 'reports progress for multipart uploads' do
172
+ thread = double(value: nil)
173
+ allow(thread).to receive(:abort_on_exception=)
174
+ allow(Thread).to receive(:new).and_yield.and_return(thread)
175
+
176
client.stub_responses(:create_multipart_upload, upload_id: 'id')
177
client.stub_responses(:complete_multipart_upload)
178
expect(client).to receive(:upload_part).exactly(24).times do |args|
0 commit comments