Page MenuHomePhabricator

Flaky test Wikimedia\Tests\ObjectCache\WANObjectCacheTest::testGetWithSetCallback_touchedCallback_versioned
Closed, ResolvedPublic

Description

Over the last couple days, I've seen the following failure in CI for unrelated patches, such as r1334294 (full CI log):

1) Wikimedia\Tests\ObjectCache\WANObjectCacheTest::testGetWithSetCallback_touchedCallback_versioned
Recompute under main key
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'xxx3'
+'xxx2'

/workspace/src/tests/phpunit/unit/includes/libs/ObjectCache/WANObjectCacheTest.php:687

The test seems to be flaky and failing randomly.

Event Timeline

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

Change #1335774 had a related patch set uploaded (by Umherirrender; author: Krinkle):

[mediawiki/core@master] ObjectCache: Fix flaky testGetWithSetCallback_touchedCallback_versioned

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

Change #1335774 merged by jenkins-bot:

[mediawiki/core@master] ObjectCache: Fix flaky testGetWithSetCallback_touchedCallback_versioned

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

Daimona assigned this task to Krinkle.