ppkarwasz opened a new pull request, #5381: URL: https://github.com/apache/hive/pull/5381
### What changes were proposed in this pull request? This PR introduces a custom `Console` implementation to capture the output of two `hplsql` tests and make them independent from whatever is printed to `System.out` and `System.err`. ### Why are the changes needed? Two tests in `hplsql` module (`TestHplsqlLocal` and `TestHplsqlOffline`) make assertions on the output to `System.out` and `System.err`. This makes the tests fragile to any other output that might appear there (see apache/logging-log4j2#2791 for example) and prevents them from running in parallel. ### Does this PR introduce _any_ user-facing change? No, no changes to the main code are introduced. ### Is the change a dependency upgrade? No. -- 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]
