-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
c: Tests & QAFor issues related to automated tests or making it easier to QA & test issues.For issues related to automated tests or making it easier to QA & test issues.
Description
In most cases the build is currently failing as the system tests for mysqli get terminated after 40min.
For testing purpose I added a small script to check the running times of tests > 5 sec:
https://travis-ci.org/matomo-org/matomo/jobs/360648037
Tests running very long are:
- Test
Piwik\Tests\System\ArchiveCronTest::testArchivePhpCron
took 438.5 seconds - Test
Piwik\Tests\System\ArchiveWebTest::test_WebArchiveScriptCanBeRun_WithPhpCgi_AndWithoutTokenAuth
took 466.8 seconds
Setup of the fixture MaySitesImportedLogs
only takes ~30 sec, but contains a lot of data. Maybe we should use a smaller fixture for those tests to run faster?
And some of the API tests Piwik\Tests\System\AutoSuggestAPITest::testAnotherApi
take alomst 60sec
Metadata
Metadata
Assignees
Labels
c: Tests & QAFor issues related to automated tests or making it easier to QA & test issues.For issues related to automated tests or making it easier to QA & test issues.