// Asynchronously attempt consecutive catalog update and deployment update
client.updateApplicationCatalog(new CatTestCallback(ClientResponse.SUCCESS),
new File(newCatalogURL), null);
// Then, update the users in the deployment
SyncCallback cb2 = new SyncCallback();
client.updateApplicationCatalog(cb2, null, new File(deploymentURL));
cb2.waitForResponse();
assertEquals(ClientResponse.USER_ABORT, cb2.getResponse().getStatus());
assertTrue(cb2.getResponse().getStatusString().contains("Invalid catalog update"));
// Verify the heartbeat timeout change didn't take