YARN-8117. Fix TestRMWebServicesNodes test failure. Contributed by Bibin A Chundatt.

This commit is contained in:
bibinchundatt 2018-04-05 14:09:50 +05:30 committed by Sunil G
parent 901e85238d
commit a6590c1f1f

View File

@ -740,7 +740,7 @@ public void verifyNodesXML(NodeList nodes, RMNode nm)
public void verifyNodeInfo(JSONObject nodeInfo, RMNode nm)
throws JSONException, Exception {
assertEquals("incorrect number of elements", 19, nodeInfo.length());
assertEquals("incorrect number of elements", 20, nodeInfo.length());
JSONObject resourceInfo = nodeInfo.getJSONObject("resourceUtilization");
verifyNodeInfoGeneric(nm, nodeInfo.getString("state"),