resSvc.commitReservation(id);
}
@Test(groups = { "res-mgmt" })
public void testReserveResourceAndCommitResource2() {
ResourceReservation resReservation = new ResourceReservation();
resReservation.setClusterName("testCluster");
UUID id = resSvc.reserveResoruce(resReservation);
Assert.assertNotNull(id);
resSvc.commitReservation(id);
resReservation.setClusterName("testCluster2");
id = resSvc.reserveResoruce(resReservation);
Assert.assertNotNull(id);
}