Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-351

testCopyIfModifiedSince fails against AWS-S3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.3
    • 1.9.0
    • jclouds-blobstore

    Description

      testCopyIfModifiedSince(org.jclouds.aws.s3.AWSS3ClientLiveTest)  Time elapsed: 2.929 sec  <<< FAILURE!
      org.jclouds.aws.AWSResponseException: request PUT https://gaul-blobstore1330667931334611482.s3.amazonaws.com/pears HTTP/1.1 failed with code 412, error: AWSError{requestId='...', requestToken='...', 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=...}'}
              at org.jclouds.aws.handlers.ParseAWSErrorFromXmlContent.handleError(ParseAWSErrorFromXmlContent.java:76)
              at org.jclouds.http.handlers.DelegatingErrorHandler.handleError(DelegatingErrorHandler.java:67)
              at org.jclouds.http.internal.BaseHttpCommandExecutorService.shouldContinue(BaseHttpCommandExecutorService.java:180)
              at org.jclouds.http.internal.BaseHttpCommandExecutorService.invoke(BaseHttpCommandExecutorService.java:150)
              at org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.invoke(InvokeSyncToAsyncHttpMethod.java:131)
              at org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.apply(InvokeSyncToAsyncHttpMethod.java:97)
              at org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.apply(InvokeSyncToAsyncHttpMethod.java:58)
              at org.jclouds.rest.internal.DelegatesToInvocationFunction.handle(DelegatesToInvocationFunction.java:157)
              at org.jclouds.rest.internal.DelegatesToInvocationFunction.invoke(DelegatesToInvocationFunction.java:124)
              at com.sun.proxy.$Proxy56.copyObject(Unknown Source)
              at org.jclouds.s3.S3ClientLiveTest.testCopyIfModifiedSince(S3ClientLiveTest.java:374)
      

      Attachments

        Activity

          People

            gaul Andrew Gaul
            gaul Andrew Gaul
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: