Skip to content

Conversation

@adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

Surefire fork for TestOzoneClientFactory was intermittently not exiting:

[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.15 s -- in org.apache.hadoop.ozone.client.TestOzoneClientFactory
[ERROR] Surefire is going to kill self fork JVM. The exit has elapsed 30 seconds after System.exit(0).

I think this may be due to not stopping the cluster. However, the test exercises Ozone client, not the factory. Nor does it require a fresh cluster. So instead of fixing it within the existing class, the test case is moved to TestSecureOzoneRpcClient. This also saves some time due to one fewer cluster to start.

https://issues.apache.org/jira/browse/HDDS-13496

How was this patch tested?

CI:
https://github.com/adoroszlai/ozone/actions/runs/16462030194/job/46531742303

Flaky test check:
https://github.com/adoroszlai/ozone/actions/runs/16462952219

@adoroszlai adoroszlai self-assigned this Jul 23, 2025
@adoroszlai adoroszlai requested a review from dombizita July 30, 2025 20:06
Copy link
Contributor

@dombizita dombizita left a comment

Choose a reason for hiding this comment

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

Thanks for the fix @adoroszlai!

@adoroszlai adoroszlai merged commit 5c62fcb into apache:master Aug 1, 2025
52 of 54 checks passed
@adoroszlai adoroszlai deleted the HDDS-13496 branch August 1, 2025 11:51
@adoroszlai
Copy link
Contributor Author

Thanks @dombizita for the review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants