https://bugzilla.wikimedia.org/show_bug.cgi?id=67148
Bug ID: 67148
Summary: Math tests dies when run with the Echo extensions
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Math
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Web browser: ---
Mobile Platform: ---
I have try running the unit tests with both Echo and Math installed and ends up
with a database error:
$ ls -1 extensions
Echo
Math
README
$ cd tests/phpunit
$ php phpunit.php --tap --testsuite extensions
not ok 588 - Error: MathDatabaseTest::testCreateTable
A database query error has occurred.
Query: DELETE FROM unittest_math
Function: MediaWikiTestCase::resetDB
Error: 1 no such table: unittest_math
---
#0 /core/includes/db/Database.php(1134): DatabaseBase->reportQueryError('no
such table: ...', 1, 'DELETE FROM uni...', 'MediaWikiTestCa...', false)
#1 /core/includes/db/Database.php(2919): DatabaseBase->query('DELETE FROM
uni...', 'MediaWikiTestCa...')
#2 /core/tests/phpunit/MediaWikiTestCase.php(572): DatabaseBase->delete('math',
'*', 'MediaWikiTestCa...')
#3 /core/tests/phpunit/MediaWikiTestCase.php(138): MediaWikiTestCase->resetDB()
#4 /pear/PHPUnit/Framework/TestSuite.php(775):
MediaWikiTestCase->run(Object(PHPUnit_Framework_TestResult))
#5 /pear/PHPUnit/Framework/TestSuite.php(745):
PHPUnit_Framework_TestSuite->runTest(Object(MathDatabaseTest),
Object(PHPUnit_Framework_TestResult))
#6 /pear/PHPUnit/Framework/TestSuite.php(705):
PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult), false,
Array, Array, false)
#7 /pear/PHPUnit/Framework/TestSuite.php(705):
PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult), false,
Array, Array, false)
#8 /pear/PHPUnit/Framework/TestSuite.php(705):
PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult), false,
Array, Array, false)
#9 /pear/PHPUnit/TextUI/TestRunner.php(349):
PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult), false,
Array, Array, false)
#10 /pear/PHPUnit/TextUI/Command.php(176):
PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array)
#11 /core/tests/phpunit/MediaWikiPHPUnitCommand.php(42):
PHPUnit_TextUI_Command->run(Array, true)
#12 /core/tests/phpunit/phpunit.php(160): MediaWikiPHPUnitCommand::main()
#13 {main}
Also the Math extension seems to be running the updater in the test.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l