Piotr Karwasz created HIVE-28656:
------------------------------------

             Summary: Improve HPL/SQL tests
                 Key: HIVE-28656
                 URL: https://issues.apache.org/jira/browse/HIVE-28656
             Project: Hive
          Issue Type: Improvement
      Security Level: Public (Viewable by anyone)
            Reporter: Piotr Karwasz


The HPL/SQL tests are fragile, since they make assertions on the {{System.out}} 
and {{System.err}} output. Whenever external output appears in these streams 
(e.g., logs), the tests fail.

A better approach would be to use the already introduced {{Console}} 
abstraction to store the HPL/SQL output in private {{ByteArrayOutputStream}} s.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to