You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2025/03/17 13:52:00 UTC
[jira] [Created] (HADOOP-19507) Remove PrintStream write counting from TestYarnCLI
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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org