Page MenuHomePhabricator

Flaky unit test "DerivedPageDataUpdaterTest::testGetPreparedEditAfterPrepareUpdate"
Closed, ResolvedPublicPRODUCTION ERROR

Description

Seen again recently on Travis CI:

https://travis-ci.org/wikimedia/mediawiki/jobs/433020634

1) MediaWiki\Tests\Storage\DerivedPageDataUpdaterTest::testGetPreparedEditAfterPrepareUpdate
Failed asserting that two strings are identical.
--- Expected
    Actual
@@ @@
-'20180925161827'
 '20180925161826'
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/Storage/DerivedPageDataUpdaterTest.php:487

Looks like there's some non-explicit assumption in this test based on a variable timestamp.

Recent changes:

Event Timeline

daniel triaged this task as High priority.
daniel moved this task from Next to In Progress on the Multi-Content-Revisions board.

Change 464508 had a related patch set uploaded (by Daniel Kinzler; owner: Daniel Kinzler):
[mediawiki/core@master] ParserOutput::getCacheTime should stay the same after the first call.

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

Change 464508 merged by jenkins-bot:
[mediawiki/core@master] ParserOutput::getCacheTime should stay the same after the first call.

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

mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:08 PM