Last modified: 2014-11-10 11:07:11 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 T75205, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 73205 - UIDGeneratorTest::testTimestampedUID tests fail under php 5.4+
UIDGeneratorTest::testTimestampedUID tests fail under php 5.4+
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.25-git
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 30092
  Show dependency treegraph
 
Reported: 2014-11-09 18:11 UTC by Bryan Davis
Modified: 2014-11-10 11:07 UTC (History)
0 users

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


Attachments

Description Bryan Davis 2014-11-09 18:11:35 UTC
Using MediaWiki-Vagrant and PHP 5.5.9:

1) UIDGeneratorTest::testTimestampedUID with data set #0 ('newTimestampedUID128', 39, 128, 46, 48)
New ID timestamp (101001001100101011011110101011000111010000100011110000100010101000000000111000010000000000000100111000001100000110100011110) >= prior one (101001001100101011011110101011000111001110100011110000100010101000000000111000010000000000000100111000001100000110100011110).
Failed asserting that '1010010011001010110111101010110001110011101000' is equal to <string:1010010011001010110111101010110001110100001000> or is greater than '1010010011001010110111101010110001110100001000'.

/vagrant/mediawiki/tests/phpunit/includes/utils/UIDGeneratorTest.php:40
/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:141

2) UIDGeneratorTest::testTimestampedUID with data set #1 ('newTimestampedUID128', 39, 128, 46, 48)
New ID timestamp (101001001100101011011110101011001011101100110000010101110110111000100010011000010000000000000100111000001100000110100011110) >= prior one (101001001100101011011110101011001011101010110000010101110110111000100010011000010000000000000100111000001100000110100011110).
Failed asserting that '1010010011001010110111101010110010111010101100' is equal to <string:1010010011001010110111101010110010111011001100> or is greater than '1010010011001010110111101010110010111011001100'.

/vagrant/mediawiki/tests/phpunit/includes/utils/UIDGeneratorTest.php:40
/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:141

3) UIDGeneratorTest::testTimestampedUID with data set #2 ('newTimestampedUID88', 27, 88, 46, 32)
New ID timestamp (10100100110010101101111010101100111111110001110000100010100100011001111011101101010) >= prior one (10100100110010101101111010101100111111101001110000100010100100011001111011101101010).
Failed asserting that '1010010011001010110111101010110011111110100111' is equal to <string:1010010011001010110111101010110011111111000111> or is greater than '1010010011001010110111101010110011111111000111'.

/vagrant/mediawiki/tests/phpunit/includes/utils/UIDGeneratorTest.php:40
/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:141


Similar results for PHP 5.4, 5.5 and 5.6 on Travis (<https://travis-ci.org/bd808/mediawiki/builds/40467098>)

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


Navigation
Links