David Mollitor created YARN-10024:
-------------------------------------
Summary: TestReplicationStatus Suspicious Assertion
Key: YARN-10024
URL: https://issues.apache.org/jira/browse/YARN-10024
Project: Hadoop YARN
Issue Type: Task
Reporter: David Mollitor
{code:java|TestReplicationStatus.java}
ServerMetrics sm = metrics.getLiveServerMetrics().get(server);
List<ReplicationLoadSource> rLoadSourceList =
sm.getReplicationLoadSourceList();
// check SourceList still only has one entry
assertTrue("failed to get ReplicationLoadSourceList",
(rLoadSourceList.size() == 2));
assertEquals(PEER_ID2, rLoadSourceList.get(0).getPeerID());
{code}
Claims that the sourceList should only have one entry and asserts that the one
entry is {{PEER_ID2}} but it also asserts that the list should have two items
in it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]