@Test
public void testAbort() throws Exception {

  RequestStatus status = testCreateResources();
  Set<Resource> createdResources = status.getAssociatedResources();
  assertEquals(1, createdResources.size());
  Resource res = createdResources.iterator().next();
  Long id = (Long) res.getPropertyValue("Upgrade/request_id");
  assertNotNull(id);
  assertEquals(Long.valueOf(1), id);
  Map<String, Object> requestProps = new HashMap<>();
  requestProps.put(UpgradeResourceProvider.UPGRADE_REQUEST_ID, id.toString());
  requestProps.put(UpgradeResourceProvider.UPGRADE_CLUSTER_NAME, "c1");
  requestProps.put(UpgradeResourceProvider.UPGRADE_REQUEST_STATUS, "ABORTED");
  requestProps.put(UpgradeResourceProvider.UPGRADE_SUSPENDED, "true");
  UpgradeResourceProvider urp = createProvider(amc);
  // !!! make sure we can.  actual abort is tested elsewhere
  Request req = PropertyHelper.getUpdateRequest(requestProps, null);
  urp.updateResources(req, null);
}