HDDS-52. Fix TestSCMCli#testInfoContainer.

Contributed by Mukul Kumar Singh.
This commit is contained in:
Anu Engineer 2018-05-12 10:07:32 -07:00
parent a5449d3631
commit 7e26e1f216

View File

@ -331,7 +331,7 @@ public void testInfoContainer() throws Exception {
openStatus = data.isOpen() ? "OPEN" : "CLOSED"; openStatus = data.isOpen() ? "OPEN" : "CLOSED";
expected = String expected = String
.format(formatStrWithHash, container.getContainerID(), openStatus, .format(formatStr, container.getContainerID(), openStatus,
data.getDBPath(), data.getContainerPath(), "", data.getDBPath(), data.getContainerPath(), "",
datanodeDetails.getHostName(), datanodeDetails.getHostName()); datanodeDetails.getHostName(), datanodeDetails.getHostName());
assertEquals(expected, out.toString()); assertEquals(expected, out.toString());