You are here

public function MigrateExecutableMemoryExceededTest::testMemoryExceededClearedEnough in Drupal 8

Tests memoryExceeded method when enough is cleared.

File

core/modules/migrate/tests/src/Unit/MigrateExecutableMemoryExceededTest.php, line 111

Class

MigrateExecutableMemoryExceededTest
Tests the \Drupal\migrate\MigrateExecutable::memoryExceeded() method.

Namespace

Drupal\Tests\migrate\Unit

Code

public function testMemoryExceededClearedEnough() {
  $this
    ->runMemoryExceededTest('reclaimed enough', FALSE, $this->memoryLimit, $this->memoryLimit * 0.75);
}