From cb23212bd6da702b03a5e58934295226a48a8fab Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Tue, 22 Dec 2015 14:43:34 +0100 Subject: [PATCH] [Routing] Skip PhpGeneratorDumperTest::testDumpWithTooManyRoutes on HHVM --- .../Routing/Tests/Generator/Dumper/PhpGeneratorDumperTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Symfony/Component/Routing/Tests/Generator/Dumper/PhpGeneratorDumperTest.php b/src/Symfony/Component/Routing/Tests/Generator/Dumper/PhpGeneratorDumperTest.php index 783d694d1c..8d4a70f844 100644 --- a/src/Symfony/Component/Routing/Tests/Generator/Dumper/PhpGeneratorDumperTest.php +++ b/src/Symfony/Component/Routing/Tests/Generator/Dumper/PhpGeneratorDumperTest.php @@ -85,6 +85,10 @@ class PhpGeneratorDumperTest extends \PHPUnit_Framework_TestCase public function testDumpWithTooManyRoutes() { + if (defined('HHVM_VERSION_ID')) { + $this->markTestSkipped('HHVM consumes too much memory on this test.'); + } + $this->routeCollection->add('Test', new Route('/testing/{foo}')); for ($i = 0; $i < 32769; ++$i) { $this->routeCollection->add('route_'.$i, new Route('/route_'.$i));