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 created this task.Dec 18 2015, 6:48 PM
Jjanes raised the priority of this task from to Needs Triage.
Jjanes updated the task description. (Show Details)
Jjanes added a project: MediaWiki-Core-Testing.
Jjanes added a subscriber: Jjanes.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptDec 18 2015, 6:48 PM
Krinkle moved this task from Inbox to PHPUnit on the MediaWiki-Core-Testing board.Jul 7 2017, 5:12 AM