Skip to content

Commit 099097b

Browse files
committed
increase wait timeout for server resume
1 parent 3994c4e commit 099097b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tests/sample/Compute/v2/ServerTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ public function testResume(Server $server)
383383

384384
require_once $this->sampleFile('servers/resume.php', ['{serverId}' => $server->id]);
385385

386-
$server->waitUntil('ACTIVE');
386+
$server->waitUntil('ACTIVE', 300);
387387
$this->assertEquals('ACTIVE', $server->status);
388388

389389
$this->deleteServer($server);

tests/sample/Compute/v2/VolumeAttachmentTest.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ public function testAttach(): VolumeAttachment
1111
{
1212
$server = $this->createServer();
1313

14-
// let's wait for the server to be completely up - https://bugs.launchpad.net/nova/+bug/1998148
14+
// let's wait for the server to be completely up
15+
// https://bugs.launchpad.net/nova/+bug/1998148
16+
// https://bugs.launchpad.net/nova/+bug/1960346
1517
sleep(10);
1618

1719
$volume = $this->getCachedService(Service::class)->createVolume(

0 commit comments

Comments
 (0)