https://bugzilla.wikimedia.org/show_bug.cgi?id=73205

            Bug ID: 73205
           Summary: UIDGeneratorTest::testTimestampedUID tests fail under
                    php 5.4+
           Product: MediaWiki
           Version: 1.25-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
          Assignee: [email protected]
          Reporter: [email protected]
       Web browser: ---
   Mobile Platform: ---

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>)

-- 
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

Reply via email to