Fix errors in UIDGeneratorTest::testTimestampedUID
authorTim Landscheidt <tim@tim-landscheidt.de>
Thu, 20 Nov 2014 23:32:23 +0000 (23:32 +0000)
committerTim Landscheidt <tim@tim-landscheidt.de>
Thu, 20 Nov 2014 23:52:16 +0000 (23:52 +0000)
commit24b08513ef7ab1127420a70cb76358a08777598b
tree9fca232d1cde3f4e210f4bccfbfa0cd073023b7d
parent21d434948d201bfd2dc0e7a75dac0b5ba4e0c75e
Fix errors in UIDGeneratorTest::testTimestampedUID

Currently, this test passes in Jenkins, but not with Travis
CI's hhvm where apparently code execution is slower so not
all UIDs are created within the same millisecond.  This also
previously masked that the test did not indeed test if the
host bits are identical as instead it tested the MSBs twice.

Bug: 73668
Change-Id: Ic68af599599ace5faa6a687d115d2d3802f6ba1b
tests/phpunit/includes/utils/UIDGeneratorTest.php