Author: adietish
Date: 2010-10-22 17:46:37 -0400 (Fri, 22 Oct 2010)
New Revision: 26013
Modified:
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/InstanceMockIntegrationTest.java
Log:
[JBIDE-7401] fixed start/stop-instance by changing to POST request [JBIDE-7371] added
tests
Modified:
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/InstanceMockIntegrationTest.java
===================================================================
---
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/InstanceMockIntegrationTest.java 2010-10-22
21:40:19 UTC (rev 26012)
+++
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/InstanceMockIntegrationTest.java 2010-10-22
21:46:37 UTC (rev 26013)
@@ -160,7 +160,7 @@
client.shutdownInstance(testInstance.getId());
}
client.startInstance(testInstance.getId());
- testInstance = client.listInstances(testInstance.getId());
+ testInstance = client.listInstances(testInstance.getId()); // reload!
assertEquals(State.RUNNING, testInstance.getState());
}
}
Show replies by date