示例#1
0
 @Test(
     dependsOnMethods = {"createServer"},
     priority = 2)
 public void unpauseServer() {
   compute.servers().server(server.getId()).action().post(new UnpauseAction(), String.class);
 }
示例#2
0
 @Test(dependsOnMethods = "createServer", priority = 1000)
 public void deleteServer() {
   compute.servers().server(server.getId()).delete();
 }
示例#3
0
 @Test(dependsOnMethods = "createServer", priority = 1)
 public void pauseServer() throws Exception {
   compute.servers().server(server.getId()).action().post(new PauseAction(), String.class);
   waitForState("PAUSED");
 }