Page MenuHomePhabricator

Make phpunit more resilient to failures under PostgreSQL
Open, Needs TriagePublic

Description

Change-Id I9254b12cff63af7d754a3a14c5db44276f58d280 causes the phpunit test suite to abort early when run against a PostgreSQL database.

Locally a just put those new tests into the "@group Broken".

Is there a better solution, to make them be automatically skipped or auto-fail when running under PostgreSQL?

Or better yet, to make phpunit just try those tests, catch the error, fail those tests and move on, rather than aborting the whole test suite?

Event Timeline

Jjanes raised the priority of this task from to Needs Triage.
Jjanes updated the task description. (Show Details)
Jjanes added a project: MediaWiki-Core-Tests.
Jjanes subscribed.