Page MenuHomePhabricator

Add `ext-mongodb` to the testing environment
Open, Needs TriagePublic

Description

After rewriting the extension ExternalData (the patch is here: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/ExternalData/+/618543) so that it can connect to MongoDB servers under PHP 7.* using mongodb/mongodb library that needs mongodb PHP extension, tests run by jenkins-bot began to fail:

The tests run composer test, which checks dependencies from composer.json. Since ext-mongodb is not enabled in the docker images used for testing, the tests fail.

Can mongodb PHP extension be added to the testing environment, or some other workaround be used?

A similar issue: T226585.