Last modified: 2014-09-26 06:26:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T70667, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68667 - hhvm: Native CDB support is not available
hhvm: Native CDB support is not available
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.24rc
All All
: Normal normal (vote)
: Future release
Assigned To: Nobody - You can work on this!
: hhvm
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-27 09:26 UTC by Nemo
Modified: 2014-09-26 06:26 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nemo 2014-07-27 09:26:33 UTC
This doesn't appear with php5:

$ php phpunit.php includes

[...]

21) CdbTest::testCdb
Native CDB support is not available

/srv/vagrant/mediawiki/tests/phpunit/includes/utils/CdbTest.php:13
/srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133
/srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42

22) CdbTest::testMediaWikiTestCaseParentSetupCalled
Native CDB support is not available

/srv/vagrant/mediawiki/tests/phpunit/includes/utils/CdbTest.php:13
/srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133
/srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42

Are we still able to test all CDB functionality as we should?
Comment 1 Antoine "hashar" Musso (WMF) 2014-07-28 09:04:35 UTC
Apparently HHVM does not support CDB, in such case there is no point in running the tests for native CDB support.  I guess it fallbacks to a pure PHP implementation isn't it?
Comment 2 Antoine "hashar" Musso (WMF) 2014-07-28 10:09:01 UTC
Does not block Bug 67216 - Have unit tests of all wmf deployed extensions pass when installed together.
Comment 3 Antoine "hashar" Musso (WMF) 2014-08-01 12:40:15 UTC
Moving under MediaWiki component.
Comment 4 Ori Livneh 2014-09-26 06:26:16 UTC
The pure PHP implementation is sufficiently fast under HHVM; there's no need for a separate C extension.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links