sharanggupta opened a new pull request, #2844: URL: https://github.com/apache/uniffle/pull/2844
### What changes were proposed in this pull request? `AccessManagerTest.test` had two `try`/`catch` blocks without a `fail()`, so they passed when nothing was thrown. - The `com.Dummy` block now uses `assertThrows` and checks the message. - The `" , "` block expected "Empty classes", which `AccessManager` never throws: a blank checker list is skipped with a warning. It now asserts that no checker is loaded. ### Why are the changes needed? The test could not fail on these two cases. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? `./mvnw -pl coordinator -am -Dtest=AccessManagerTest -Dsurefire.failIfNoSpecifiedTests=false test` -- 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]
