Skip to content

Commit fd8f91f

Browse files
committed
Merge pull request #450 from ycombinator/unsmoke-suspend-rescue
Unsmoke suspend rescue
2 parents 51d8c59 + 7123292 commit fd8f91f

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

tests/OpenCloud/Smoke/Unit/Compute.php

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -165,30 +165,6 @@ public function main()
165165
return false;
166166
}
167167

168-
sleep(3);
169-
170-
// Suspend
171-
$this->step('Suspend the server');
172-
$server->suspend();
173-
$server->waitFor('ACTIVE', 120, $this->getWaiterCallback());
174-
175-
if ($server->status() == 'ERROR') {
176-
$this->stepInfo("Server suspension failed with ERROR\n");
177-
return false;
178-
}
179-
180-
sleep(3);
181-
182-
// Resume
183-
$this->step('Resume the server');
184-
$server->resume();
185-
$server->waitFor('ACTIVE', 120, $this->getWaiterCallback());
186-
187-
if ($server->status() == 'ERROR') {
188-
$this->stepInfo("Server resuming failed with ERROR\n");
189-
return false;
190-
}
191-
192168
sleep(3);
193169

194170
// Attach volume

0 commit comments

Comments
 (0)