mirror of
https://github.com/danog/amp.git
synced 2024-11-27 12:35:02 +01:00
Do not run memory leak testing test with code coverage active
This commit is contained in:
parent
83ceb7f5f8
commit
0f5460fd0f
@ -354,6 +354,10 @@ abstract class Test extends \PHPUnit_Framework_TestCase {
|
||||
/** @dataProvider provideRegistrationArgs */
|
||||
function testNoMemoryLeak($type, $args)
|
||||
{
|
||||
if ($this->getTestResultObject()->getCollectCodeCoverageInformation()) {
|
||||
$this->markTestSkipped("Cannot run this test with code coverage active [code coverage consumes memory which makes it impossible to rely on memory_get_usage()]");
|
||||
}
|
||||
|
||||
$runs = 2000;
|
||||
|
||||
if ($type === "onSignal") {
|
||||
|
Loading…
Reference in New Issue
Block a user