From 8a04886f2631284984beda8184ebb520281bcd9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Ostroluck=C3=BD?= Date: Sun, 13 Oct 2019 14:02:04 +0200 Subject: [PATCH] Increase limits for flakey appveyor tests --- src/Symfony/Component/VarDumper/Tests/Server/ConnectionTest.php | 2 +- src/Symfony/Contracts/HttpClient/Test/HttpClientTestCase.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/VarDumper/Tests/Server/ConnectionTest.php b/src/Symfony/Component/VarDumper/Tests/Server/ConnectionTest.php index 21902b5cf1aa..a67cb76bf11b 100644 --- a/src/Symfony/Component/VarDumper/Tests/Server/ConnectionTest.php +++ b/src/Symfony/Component/VarDumper/Tests/Server/ConnectionTest.php @@ -72,7 +72,7 @@ public function testNoServer() $connection = new Connection(self::VAR_DUMPER_SERVER); $start = microtime(true); $this->assertFalse($connection->write($data)); - $this->assertLessThan(1, microtime(true) - $start); + $this->assertLessThan(4, microtime(true) - $start); } private function getServerProcess(): Process diff --git a/src/Symfony/Contracts/HttpClient/Test/HttpClientTestCase.php b/src/Symfony/Contracts/HttpClient/Test/HttpClientTestCase.php index 0547c752ac9d..20ac77ff3718 100644 --- a/src/Symfony/Contracts/HttpClient/Test/HttpClientTestCase.php +++ b/src/Symfony/Contracts/HttpClient/Test/HttpClientTestCase.php @@ -669,7 +669,7 @@ public function testDestruct() $duration = microtime(true) - $start; $this->assertGreaterThan(1, $duration); - $this->assertLessThan(3, $duration); + $this->assertLessThan(4, $duration); } public function testProxy()