Istvan Toth created HADOOP-19507:
------------------------------------

             Summary: Remove PrintStream write counting from TestYarnCLI
                 Key: HADOOP-19507
                 URL: https://issues.apache.org/jira/browse/HADOOP-19507
             Project: Hadoop Common
          Issue Type: Bug
          Components: yarn
            Reporter: Istvan Toth
            Assignee: Istvan Toth


TestYarnCLI tests for the number of write calls on mocked (spied) 
ByteArrayOutputStream.

The number of these writes for the test cases depends on JVM implementation 
internals, and differs between different Java versions.

The tests also do byte-by-byte comparison of the actual data written, do the 
invocation counting is completely redundant.

Remove invocation counting from these tests.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to