[Routing] Skip PhpGeneratorDumperTest::testDumpWithTooManyRoutes on HHVM

This commit is contained in:
Nicolas Grekas 2015-12-22 14:43:34 +01:00
parent ef53d6d755
commit cb23212bd6

View File

@ -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));