diff options
author | Stefan Giehl <stefan@matomo.org> | 2021-08-16 17:28:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-16 17:28:56 +0300 |
commit | 331e69eb1f2c022afb943114000aa60a4d93b1ac (patch) | |
tree | a8726a0a22cf8a5b7cd3733aa933ebfc293c3afa | |
parent | 09c012345d6913364af475598872105ff2fc854a (diff) |
Skip max execution query hint test for Mysqli (#17893)
-rw-r--r-- | tests/PHPUnit/Integration/DataAccess/LogAggregatorTest.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/PHPUnit/Integration/DataAccess/LogAggregatorTest.php b/tests/PHPUnit/Integration/DataAccess/LogAggregatorTest.php index 2cdf533cf0..62ee9e5419 100644 --- a/tests/PHPUnit/Integration/DataAccess/LogAggregatorTest.php +++ b/tests/PHPUnit/Integration/DataAccess/LogAggregatorTest.php @@ -19,6 +19,7 @@ use Piwik\Segment; use Piwik\Site; use Piwik\Tests\Fixtures\OneVisitorTwoVisits; use Piwik\Tests\Framework\TestCase\IntegrationTestCase; +use Piwik\Tests\Framework\TestCase\SystemTestCase; use Piwik\Updater\Migration\Db as DbMigration; /** @@ -147,6 +148,11 @@ class LogAggregatorTest extends IntegrationTestCase public function testSetMaxExecutionTimeOfArchivingQueries() { + if (SystemTestCase::isMysqli()) { + // See https://github.com/matomo-org/matomo/issues/17871 + $this->markTestSkipped('Max execution query hint does not work for Mysqli.'); + } + // limit query to one milli second Config::getInstance()->General['archiving_query_max_execution_time'] = 0.001; try { |