JCLOUDS-651: Fix filesystem integration tests in OSX

This commit is contained in:
Ignasi Barrera 2015-04-07 10:51:33 +02:00 committed by Andrew Gaul
parent 211b07390d
commit 4e37ffb6b6
1 changed files with 2 additions and 2 deletions

View File

@ -760,7 +760,7 @@ public class BaseBlobIntegrationTest extends BaseBlobStoreIntegrationTest {
Closeables2.closeQuietly(is); Closeables2.closeQuietly(is);
} }
checkContentMetadata(toBlob); checkContentMetadata(toBlob);
assertThat(toBlob.getMetadata().getUserMetadata()).isEqualTo(userMetadata); checkUserMetadata(toBlob.getMetadata().getUserMetadata(), userMetadata);
} finally { } finally {
returnContainer(toContainer); returnContainer(toContainer);
returnContainer(fromContainer); returnContainer(fromContainer);
@ -799,7 +799,7 @@ public class BaseBlobIntegrationTest extends BaseBlobStoreIntegrationTest {
// TODO: S3 overrideMetadataWith also overrides system metadata // TODO: S3 overrideMetadataWith also overrides system metadata
// TODO: Swift does not preserve system metadata // TODO: Swift does not preserve system metadata
//checkContentMetadata(toBlob); //checkContentMetadata(toBlob);
assertThat(toBlob.getMetadata().getUserMetadata()).isEqualTo(userMetadata); checkUserMetadata(toBlob.getMetadata().getUserMetadata(), userMetadata);
} finally { } finally {
returnContainer(toContainer); returnContainer(toContainer);
returnContainer(fromContainer); returnContainer(fromContainer);