From c8a41598c9fd065727a35ef636c3c3b4c627dbad Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Thu, 26 May 2016 20:17:30 +0200 Subject: [PATCH] Not a performance test --- .../Doctrine/Tests/ORM/Performance/DDC2602Test.php | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/tests/Doctrine/Tests/ORM/Performance/DDC2602Test.php b/tests/Doctrine/Tests/ORM/Performance/DDC2602Test.php index 618b5f9c6..de8bedfc7 100644 --- a/tests/Doctrine/Tests/ORM/Performance/DDC2602Test.php +++ b/tests/Doctrine/Tests/ORM/Performance/DDC2602Test.php @@ -8,7 +8,6 @@ use Doctrine\ORM\Events; use Doctrine\Tests\OrmPerformanceTestCase; /** - * @group performance * @group DDC-2602 */ class DDC2602Test extends OrmPerformanceTestCase @@ -51,14 +50,10 @@ class DDC2602Test extends OrmPerformanceTestCase // Set maximum seconds this can run $this->setMaxRunningTime(1); - $s = microtime(true); - - $query = $this->_em->createQuery('SELECT u, b FROM Doctrine\Tests\ORM\Performance\DDC2602User u JOIN u.biography b'); - $query->getResult(); - - $e = microtime(true); - - echo __FUNCTION__ . " - " . ($e - $s) . " seconds" . PHP_EOL; + $this + ->_em + ->createQuery('SELECT u, b FROM Doctrine\Tests\ORM\Performance\DDC2602User u JOIN u.biography b') + ->getResult(); } private function loadFixture()