Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
increase wait timeout for server resume
  • Loading branch information
k0ka committed Jan 30, 2024
commit 099097be11cd1e34317bb41575136ab5d07a0036
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