Skip to content

Commit

Permalink
increase wait timeout for server resume
Browse files Browse the repository at this point in the history
  • Loading branch information
k0ka committed Jan 30, 2024
1 parent 3994c4e commit 099097b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/sample/Compute/v2/ServerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ public function testResume(Server $server)

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

$server->waitUntil('ACTIVE');
$server->waitUntil('ACTIVE', 300);
$this->assertEquals('ACTIVE', $server->status);

$this->deleteServer($server);
Expand Down
4 changes: 3 additions & 1 deletion tests/sample/Compute/v2/VolumeAttachmentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ public function testAttach(): VolumeAttachment
{
$server = $this->createServer();

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

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

0 comments on commit 099097b

Please sign in to comment.