[ https://issues.apache.org/jira/browse/JCLOUDS-96?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14290770#comment-14290770 ]
ASF subversion and git services commented on JCLOUDS-96: -------------------------------------------------------- Commit affad9fa3b66e45c4b7c0bb2483e959dc0f5341a in jclouds's branch refs/heads/master from [~gaul] [ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=affad9f ] JCLOUDS-96: JCLOUDS-351: Fix S3 copy if tests Use correct options in testCopyIfUnmodifiedSince, use looser time bounds, and ensure that tests throw HttpResponseException when expected. > address aws-s3 live test failures > --------------------------------- > > Key: JCLOUDS-96 > URL: https://issues.apache.org/jira/browse/JCLOUDS-96 > Project: jclouds > Issue Type: Bug > Components: jclouds-blobstore > Affects Versions: 1.6.0 > Reporter: Andrew Gaul > Assignee: Andrew Gaul > Labels: aws-s3 > Fix For: 1.9.0 > > > This should not block the 1.6.1 release but we should address these: > Failed tests: > testCopyIfModifiedSince(org.jclouds.aws.s3.AWSS3ClientLiveTest): request PUT > https://gaul-blobstore8.s3.amazonaws.com/pears HTTP/1.1 failed with code 412, > error: AWSError{requestId='2C3067DD0F517071', > requestToken='BCYXQkcYsJn5a4ICR+sfMg0DDkfG3nJSESzGlZv1xjbW6yb/1ohcCNHHQYY7A3VJ', > code='PreconditionFailed', message='At least one of the pre-conditions you > specified did not hold', > context='{Condition=x-amz-copy-source-If-Modified-Since, > HostId=BCYXQkcYsJn5a4ICR+sfMg0DDkfG3nJSESzGlZv1xjbW6yb/1ohcCNHHQYY7A3VJ}'} > > testDirectory(org.jclouds.aws.s3.blobstore.integration.AWSS3ContainerIntegrationLiveTest): > [[type=RELATIVE_PATH, id=null, name=directory, location={scope=REGION, > id=us-standard, description=us-standard, parent=aws-s3, iso3166Codes=[US]}, > uri=https://gaul-blobstore18.s3.amazonaws.com/directory/, userMetadata={}]] > > testPutFileParallel(org.jclouds.aws.s3.blobstore.integration.AWSS3BlobIntegrationLiveTest): > putFileParallel, completed: 0/10, errors: 0, rate: 3000ms/op > > testPublicAccessInNonDefaultLocation(org.jclouds.aws.s3.blobstore.integration.AWSS3ContainerLiveTest): > Validation on 'public abstract > com.google.common.util.concurrent.ListenableFuture > org.jclouds.s3.S3AsyncClient.putBucketInRegion(java.lang.String,java.lang.String,org.jclouds.s3.options.PutBucketOptions[])[us-standard, > > gaul-blobstore166105864973802436317-88465623902772003-29211719058811089442391555942423291658, > [Lorg.jclouds.s3.options.PutBucketOptions;@6954bfe]' didn't pass:(..) -- This message was sent by Atlassian JIRA (v6.3.4#6332)