mirror of
https://github.com/apache/jclouds.git
synced 2025-02-13 13:36:18 +00:00
The ContainerApiLiveTest class has tests that mostly assume that a single test container always exists. They collide on changes to the state of the container. Some of the tests, though, assume the container does _not_ exist and attempt to create it and subsequently delete it. The change in this patch makes their behavior uniform with respect to that test container: assume it exists and if the test tries to delete it or mutate it, delete the container and create it at the end of the test. The fix in ObjectApi is for the Object GET requests. Currently, jclouds passes "format=json", which is not a supported query parameter for object GET. Lastly, ObjectApiLiveTest that test server-side copy should ignore the X-Openstack-Request-ID header, as its value will change between the two requests.