adoroszlai opened a new pull request #2948: URL: https://github.com/apache/ozone/pull/2948
## What changes were proposed in this pull request? _unit_ and _integration_ checks run tests in mutually exclusive submodules. We can skip _unit_ check if only integration tests are changed. (Plus let git ignore the `bats` libraries required for testing the `selective_ci_checks` script.) https://issues.apache.org/jira/browse/HDDS-6140 ## How was this patch tested? Tweaked `selective_ci_checks.bats` test. Existing test case becomes integration-only: ``` commit 61396ba9f1b03eb456940aee8b8079841d9abc4a ... 10 3 hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOMRatisSnapshots.java ``` New test case added for unit+integration change: ``` commit 9aebf6e2583a17d3bbb62bbb429ae25930f505dc ... 47 22 hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/fs/ozone/TestOzoneFileInterfaces.java 4 4 hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/fs/ozone/TestOzoneFileInterfacesWithFSO.java 0 2 hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/request/key/TestOMKeyCreateRequestWithFSO.java ``` ``` $ bats dev-support/ci/selective_ci_checks.bats ✓ checkstyle and bats ✓ compose only ✓ compose and robot ✓ check script ✓ integration and unit ✓ integration only ✓ kubernetes only ✓ docs only ✓ java-only change ✓ java and compose change ✓ java and docs change ✓ pom change ✓ CI lib change ✓ CI workflow change ✓ root README ✓ ignored code ✓ other README 17 tests, 0 failures ``` -- 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]
