-
Notifications
You must be signed in to change notification settings - Fork 15
[SDK-548] Improve stability of tests for Java SDK #41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SDK-548] Improve stability of tests for Java SDK #41
Conversation
com.emc.object.s3.S3EncryptionClientBasicTest > testExtendObjectRetentionPeriod FAILED
…sWithEncoding . Root causes: 1. results by metadata search "x-amz-meta-field-valid=='true'" has no order, putting condition x-amz-meta-index-field will get it fixed. 2. SDK is not able to store special character into UMD, not a decent test for special characters but fine with listing objects with encoding.
…ListVersionsPaging
@@ -102,6 +102,7 @@ protected static S3Config s3ConfigFromProperties() throws Exception { | |||
String secretKey = TestConfig.getPropertyNotEmpty(props, TestProperties.S3_SECRET_KEY); | |||
URI endpoint = new URI(TestConfig.getPropertyNotEmpty(props, TestProperties.S3_ENDPOINT)); | |||
boolean enableVhost = Boolean.parseBoolean(props.getProperty(TestProperties.ENABLE_VHOST)); | |||
boolean isSmartClient = Boolean.parseBoolean(props.getProperty(TestProperties.IS_SMART_CLIENT)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be ENABLE_SMART_CLIENT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have changed the property name to ENABLE_SMART_CLIENT
@@ -15,5 +15,8 @@ s3.endpoint=http[s]://<ecshost>[:9020|:9021] | |||
## Uncomment to enable vhost-style requests (including the namespace) | |||
#enableVhost=true | |||
|
|||
## Uncomment to disable smart client | |||
#isSmartClient=false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Default should be true
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By default it's commented, uncommenting it will disable smart client, so default is false.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Victoria, would you mind putting a few more details about this HTTP 411 error into SDK-548?
…nt disabled 2. update smart client version to 2.3.1
No description provided.