[Routing] Skip PhpGeneratorDumperTest::testDumpWithTooManyRoutes on HHVM
This commit is contained in:
parent
ef53d6d755
commit
cb23212bd6
@ -85,6 +85,10 @@ class PhpGeneratorDumperTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
public function testDumpWithTooManyRoutes()
|
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}'));
|
$this->routeCollection->add('Test', new Route('/testing/{foo}'));
|
||||||
for ($i = 0; $i < 32769; ++$i) {
|
for ($i = 0; $i < 32769; ++$i) {
|
||||||
$this->routeCollection->add('route_'.$i, new Route('/route_'.$i));
|
$this->routeCollection->add('route_'.$i, new Route('/route_'.$i));
|
||||||
|
Reference in New Issue
Block a user