From 1eb7fc01a5ffee63fdcf60507b8768a369244c84 Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Sat, 5 May 2018 10:57:47 +0100 Subject: [PATCH] Issue #2969738 by alexpott: testQuickStartCommand failing on PHP5 --- core/tests/Drupal/Tests/Core/Command/QuickStartTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tests/Drupal/Tests/Core/Command/QuickStartTest.php b/core/tests/Drupal/Tests/Core/Command/QuickStartTest.php index fa4a21410a10..76f33eb96ed3 100644 --- a/core/tests/Drupal/Tests/Core/Command/QuickStartTest.php +++ b/core/tests/Drupal/Tests/Core/Command/QuickStartTest.php @@ -103,10 +103,10 @@ public function testQuickStartCommand() { // 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'; -- GitLab