@andrewgaul I should have mentioned it earlier but you need to additionally add 
`-Djclouds.session-interval=1` when running the live tests, otherwise the 
TimeStampProvider caches the timestamp values for 1 minute by default, 
resulting in the test failures you saw. This works for me:

```
mvn integration-test -Djclouds.session-interval=1 
-Dtest.aws-s3.identity=$AWS_ACCESS_KEY_ID 
-Dtest.aws-s3.credential=$AWS_SECRET_ACCESS_KEY 
-Dtest.blobstore.container-count=2 
-Dtest=AWSS3BlobSignerLiveTest#testSignGetUrlWithTime
```

Note further that `testSignPutUrlWithTime` actually succeeds but the test 
indicates a failure because we're expecting an `AuthorizedException` but 
instead we get a `RejectedException` -- this is because of our dear friend 
100-Continue. The test works fine if I strip the 100-continue header. I can 
spend time fixing the test but feel I've already spent way more time on tests 
for this issue than the actual functionality.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/71#issuecomment-21464304

Reply via email to