@Test
public void testInstancesUpgrade() {

  String appName = "example-app";
  try {
    int result = asc.actionUpgradeInstances(appName, Lists.newArrayList(
        "comp-1", "comp-2"));
    assertEquals(EXIT_SUCCESS, result);
  } catch (IOException | YarnException e) {
    fail();
  }
}