Skip to content

[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

Merged

Conversation

victoriaxu098
Copy link
Contributor

No description provided.

@victoriaxu098 victoriaxu098 changed the title Fix test failures SDK-548 Improve stability of tests for Java SDK Apr 13, 2021
@victoriaxu098 victoriaxu098 changed the base branch from master to release-3.2.0 April 17, 2021 03:49
com.emc.object.s3.S3EncryptionClientBasicTest > testExtendObjectRetentionPeriod FAILED
@dongyeh dongyeh changed the title SDK-548 Improve stability of tests for Java SDK [SDK-548] Improve stability of tests for Java SDK Apr 20, 2021
Xu, Victoria and others added 6 commits April 20, 2021 17:16
…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.
@victoriaxu098 victoriaxu098 changed the title [SDK-548] Improve stability of tests for Java SDK [SDK-548, SDK-555] Improve stability of tests for Java SDK Apr 23, 2021
@@ -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));
Copy link
Contributor

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?

Copy link
Contributor Author

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Default should be true

Copy link
Contributor Author

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.

@victoriaxu098 victoriaxu098 changed the title [SDK-548, SDK-555] Improve stability of tests for Java SDK [SDK-548] Improve stability of tests for Java SDK Apr 29, 2021
Copy link
Contributor

@xiaoxin-ren xiaoxin-ren left a 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?

@victoriaxu098 victoriaxu098 merged commit 11f4e4f into release-3.2.0 May 7, 2021
@dongyeh dongyeh deleted the bugfix-SDK-548-Improve-stability-of-tests branch May 20, 2021 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants