Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use MySQL instead of SQLite in tracker tests #9164

Merged
merged 3 commits into from Nov 5, 2015
Merged

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Nov 4, 2015

fixes #9163

For now I'm using hardcoded database tracker_tests which will be generated dynamically if it does not exist yet. Maybe we should configure it? Thought it's maybe no problem as we already generate randomly any databases during UI tests etc.

If Piwik is not installed yet or [database_test] section is not configured we get same warnings as when running PHPUnit tests.

After merge we could also get rid of https://github.com/piwik/travis-scripts/blob/5c1208d725916d21e47527c8d7281af52a5bb5f7/travis.sh#L25

@tsteur tsteur added Pull Request WIP Indicates the current pull request is still work in progress and not ready yet for a review. Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. and removed Pull Request WIP Indicates the current pull request is still work in progress and not ready yet for a review. labels Nov 4, 2015
mattab pushed a commit that referenced this pull request Nov 5, 2015
Use MySQL instead of SQLite in tracker tests
@mattab mattab merged commit 9814936 into master Nov 5, 2015
@mattab
Copy link
Member

mattab commented Nov 5, 2015

Very nice, it's also faster on my machine 👍

@mattab mattab deleted the mysql_in_tracker branch November 5, 2015 01:52
@mattab mattab added this to the 2.15.1 milestone Nov 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants