Skip to content

Commit c070d8b

Browse files
committed
Fix flakey test in s3
1 parent 452cf3d commit c070d8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gems/aws-sdk-s3/spec/object/upload_stream_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ module S3
428428
object.upload_stream(tempfile: true) do |_write_stream|
429429
raise 'something went wrong'
430430
end
431-
end.to raise_error('multipart upload failed: something went wrong')
431+
end.to raise_error(/multipart upload failed/, /something went wrong/)
432432
end
433433

434434
it 'reports when it is unable to abort a failed multipart upload' do

0 commit comments

Comments
 (0)