Page MenuHomePhabricator

PHPUnit test Wikimedia\Tests\ObjectCache\WANObjectCacheTest::testLockTSE_stale is flaky
Closed, ResolvedPublic

Description

On https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1320176 a unrelated test fails, but passed for other CI runs on the same patch set.

https://integration.wikimedia.org/ci/job/quibble-for-mediawiki-core-vendor-sqlite-php83/4046/console

There was 1 failure:

1) Wikimedia\Tests\ObjectCache\WANObjectCacheTest::testLockTSE_stale with data set #1 (array('/*/test/', 'hash_stop'), '|#|')
Cache hit value again
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'bar'
+'baz'

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

Also happen for https://integration.wikimedia.org/ci/job/quibble-vendor-mysql-php84/20717/console on https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Lockdown/+/1322556

Last changes from 66c6cf7f2bcbb33591242b846199fd85fd4c8712 / T424357

Details

Event Timeline

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

Change #1326989 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/core@master] WANObjectCache: Fix flaky testLockTSE_stale

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

Change #1326989 merged by jenkins-bot:

[mediawiki/core@master] WANObjectCache: Fix flaky testLockTSE_stale

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