sachinnn99 opened a new pull request, #10993:
URL: https://github.com/apache/gravitino/pull/10993

   ### What changes were proposed in this pull request?
   
   Move `TestAwsGlueSchema` and `TestAwsGlueTable` from the unit test directory 
into the `integration/test/` subdirectory so they are excluded by the existing 
`skipITs` Gradle rule. Widen the abstract base classes 
(`AbstractGlueSchemaTest`, `AbstractGlueTableTest`) to `public` with 
`@VisibleForTesting` for cross-package access.
   
   ### Why are the changes needed?
   
   These tests hit real AWS Glue endpoints and run automatically when a 
developer has ambient AWS credentials (`AWS_ACCESS_KEY_ID`) set. Because they 
reside outside the `integration/test/` path, the 
`exclude("**/integration/test/**")` rule in `build.gradle.kts` does not filter 
them out during `./gradlew test -PskipITs`. This can cause unintended resource 
creation, security alerts, or API costs.
   
   Fixes #10956
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Ran `./gradlew :catalogs:catalog-glue:test -PskipITs` and verified 
`TestAwsGlueSchema` and `TestAwsGlueTable` no longer appear in the test report 
while all other unit tests pass.


-- 
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]

Reply via email to