adoroszlai opened a new pull request, #10671: URL: https://github.com/apache/ozone/pull/10671
## What changes were proposed in this pull request? If only JUnit test classes have changed, limit tests run in pull request CI to that set. This adds a new check `specific-tests` (with display name `integration`), which is the same as `integration`, but only runs specific tests instead of profiles in a matrix. Example: f5a5f0fe681cf1c55e86f2ebc8830273b6c132ab only changed `TestContainerBalancerDatanodeNodeLimit`, no need to run all other integration tests. Counterexample: 10a9437bf3a67f0451b5272795b04914a85b724c changed test helper code (`AbstractOzoneManagerHATest` and `MiniOzoneHAClusterImpl`), need to run all integration tests. Note: there are many test helpers and parent classes that do not follow naming convention. We'll need to rename these to ensure proper coverage. Creating as draft until we address that. https://issues.apache.org/jira/browse/HDDS-15749 ## How was this patch tested? Updated `bats` test. Also tested in fork: ### Push [build](https://github.com/adoroszlai/ozone/actions/runs/28740631244) ### - :x: `integration` with specific tests ([skipped](https://github.com/adoroszlai/ozone/actions/runs/28740631244/job/85223448648)) - :heavy_check_mark: profile-based `integration` ### Pull requests ### 1. test-only change: https://github.com/adoroszlai/ozone/pull/62 - :heavy_check_mark: `integration` with specific tests ([run](https://github.com/adoroszlai/ozone/actions/runs/28741645927/job/85226940482)) ``` [INFO] Tests run: 336, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.89 s -- in org.apache.hadoop.hdds.scm.container.balancer.TestContainerBalancerDatanodeNodeLimit [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.719 s -- in org.apache.hadoop.ozone.om.TestAuthorizerLockImpl:w [INFO] Total time: 03:49 min ``` - :x: profile-based `integration` 2. non-test change: https://github.com/adoroszlai/ozone/pull/63 - :x: `integration` with specific tests ([skipped](https://github.com/adoroszlai/ozone/actions/runs/28741658176/job/85227089981)) - :heavy_check_mark: profile-based `integration` -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
