[
https://issues.apache.org/jira/browse/YARN-11799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Istvan Toth updated YARN-11799:
-------------------------------
Summary: [JDK24] Remove PrintStream write counting from TestYarnCLI (was:
Remove PrintStream write counting from TestYarnCLI)
> [JDK24] Remove PrintStream write counting from TestYarnCLI
> ----------------------------------------------------------
>
> Key: YARN-11799
> URL: https://issues.apache.org/jira/browse/YARN-11799
> Project: Hadoop YARN
> Issue Type: Bug
> Components: yarn
> Reporter: Istvan Toth
> Assignee: Istvan Toth
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.5.0
>
>
> 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, so 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: [email protected]
For additional commands, e-mail: [email protected]