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
1 changed files with 1 additions and 1 deletions

View File

@ -740,7 +740,7 @@ public class TestRMWebServicesNodes extends JerseyTestBase {
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"),