[wp-trac] [WordPress Trac] #49367: MariaDB Galera Cluster fails tests due to MyISAM being forced

WordPress Trac noreply at wordpress.org
Wed Feb 5 10:14:34 UTC 2020


#49367: MariaDB Galera Cluster fails tests due to MyISAM being forced
------------------------------+--------------------------------------
 Reporter:  xkon              |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:  needs-patch dev-feedback
  Focuses:                    |
------------------------------+--------------------------------------
 I'm opening this ticket after the weekly hosting-community meeting on
 Slack.

 The original report can be found on the phpunit-test-runner Github issues
 at https://github.com/WordPress/phpunit-test-runner/issues/89 .

 It seems that we're forcing the test setup here to use MyISAM ,
 https://github.com/WordPress/wordpress-
 develop/blob/master/tests/phpunit/tests/dbdelta.php#L49 which isn't
 supported in some environments.

 Specifically in this case the MariaDB Galera Cluster only supports
 InnoDB/XtraDB so the tests are failing.

 As WordPress doesn't require MyISAM in general & if possible we should be
 adding a check here to see what engine is supported and change from MyISAM
 to InnoDB respectively to avoid issues like this.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49367>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list