cpan-testers / cpantesters-backend

Backend data processing for CPAN Testers
Other
0 stars 4 forks source link

Only run live MySQL tests on correct MySQL version #8

Closed preaction closed 6 years ago

preaction commented 7 years ago

http://www.cpantesters.org/cpan/report/43424140-87ce-11e7-bd5f-810a6bade14e

We need a MySQL version that has the JSON field, so 5.7 or above. Without this, the tests will fail since it can't create the schema.

We need to detect the MySQL version (Test::mysqld should have a function for this), and skip the relevant tests if it's not a version we can support.