Page MenuHomePhabricator

WatchedItemStoreIntegrationTest::testDuplicateAllAssociatedEntries Failed asserting that two strings are identical
Closed, ResolvedPublic

Description

Seen on https://gerrit.wikimedia.org/r/c/mediawiki/core/+/629192/

https://integration.wikimedia.org/ci/job/mediawiki-quibble-composer-mysql-php73-docker/629/console

then passed on immediately after on

https://integration.wikimedia.org/ci/job/mediawiki-quibble-composer-mysql-php73-docker/630/console

So the test seems flaky

01:47:51 1) WatchedItemStoreIntegrationTest::testDuplicateAllAssociatedEntries
01:47:51 Failed asserting that two strings are identical.
01:47:51 --- Expected
01:47:51 +++ Actual
01:47:51 @@ @@
01:47:51 -'20210323004714'
01:47:51 +'20210323004713'
01:47:51 
01:47:51 /workspace/src/tests/phpunit/includes/watcheditem/WatchedItemStoreIntegrationTest.php:372
01:47:51 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:446
01:47:51 /workspace/src/maintenance/doMaintenance.php:107

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 626923 had a related patch set uploaded (by Ammarpad; owner: Samwilson):
[mediawiki/core@master] Set fake time, to avoid flaky tests

https://gerrit.wikimedia.org/r/626923

Change 629193 had a related patch set uploaded (by Reedy; owner: Samwilson):
[mediawiki/core@REL1_35] Set fake time, to avoid flaky tests

https://gerrit.wikimedia.org/r/629193

Change 626923 merged by jenkins-bot:
[mediawiki/core@master] Set fake time, to avoid flaky tests

https://gerrit.wikimedia.org/r/626923

Change 629193 merged by jenkins-bot:
[mediawiki/core@REL1_35] Set fake time, to avoid flaky tests

https://gerrit.wikimedia.org/r/629193