Exemplo n.º 1
0
 @Test(
     dependsOnMethods = {"createServer"},
     priority = 2)
 public void unpauseServer() {
   compute.servers().server(server.getId()).action().post(new UnpauseAction(), String.class);
 }
Exemplo n.º 2
0
 @Test(dependsOnMethods = "createServer", priority = 1000)
 public void deleteServer() {
   compute.servers().server(server.getId()).delete();
 }
Exemplo n.º 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");
 }