xxubai opened a new pull request, #4142: URL: https://github.com/apache/amoro/pull/4142
## Why are the changes needed? Some continuous optimizing tests are unstable on Java 17 due to non-deterministic test data generation and missing test build configuration for generated sources. Close #3853. ## Brief change log - make `RandomRecordGenerator` deterministic for the affected test flows - update keyed/unkeyed continuous optimizing tests to use the deterministic seed - exclude `src/main/gen-java/**` from checkstyle in `amoro-common` - keep surefire configured in `amoro-common` for test execution ## How was this patch tested? - [x] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] Run test locally before making a pull request Local verification: - `./mvnw -pl amoro-ams -am -Dtest=TestKeyedContinuousOptimizing,TestUnKeyedContinuousOptimizing test` ## Documentation - Does this pull request introduce a new feature? no - If yes, how is the feature documented? not applicable -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
