Issue #2969738 by alexpott: testQuickStartCommand failing on PHP5

8.6.x
Alex Pott 2018-05-05 10:57:47 +01:00
parent fa5df47d0a
commit 1eb7fc01a5
No known key found for this signature in database
GPG Key ID: 31905460D4A69276
1 changed files with 1 additions and 1 deletions

View File

@ -103,10 +103,10 @@ class QuickStartTest extends TestCase {
// The progress bar uses STDERR to write messages.
$this->assertContains('Congratulations, you installed Drupal!', $process->getErrorOutput());
$this->assertNotFalse($port, "Web server running on port $port");
$this->assertContains("127.0.0.1:$port/user/reset/1/", $process->getOutput());
// Give the server a couple of seconds to be ready.
sleep(2);
$this->assertContains("127.0.0.1:$port/user/reset/1/", $process->getOutput());
// Generate a cookie so we can make a request against the installed site.
include $this->root . '/core/includes/bootstrap.inc';