Page MenuHomePhabricator

ZObjectStoreTest::testUpdateZObject suddenly failing (edit not happening when it should)
Closed, ResolvedPublic

Description

00:03:06.573 1) MediaWiki\Extension\WikiLambda\Tests\Integration\ZObjectStoreTest::testUpdateZObject
00:03:06.573 Failed asserting that two strings are equal.
00:03:06.575 --- Expected
00:03:06.575 +++ Actual
00:03:06.575 @@ @@
00:03:06.575  '{\n
00:03:06.575      "Z1K1": "Z2",\n
00:03:06.575      "Z2K1": "Z10000",\n
00:03:06.575 -    "Z2K2": "hello",\n
00:03:06.575 +    "Z2K2": "bye",\n
00:03:06.575      "Z2K3": {\n
00:03:06.575          "Z1K1": "Z12",\n
00:03:06.575          "Z12K1": [\n
00:03:06.575 
00:03:06.575 /workspace/src/extensions/WikiLambda/tests/phpunit/integration/ZObjectStoreTest.php:287
00:03:06.575 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:547
00:03:06.575 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97

Caused by rMWb232dafd4116: title: Uncache title from internal title cache on id reset. We need to re-fetch the title in the test, I think.

Event Timeline

Jdforrester-WMF triaged this task as Unbreak Now! priority.Aug 7 2023, 1:58 PM
Jdforrester-WMF created this task.

Change 946548 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/WikiLambda@master] ZObjectStoreTest::testUpdateZObject: Re-fetch the Title to get the new revId

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

Change 946548 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] ZObjectStoreTest::testUpdateZObject: Re-fetch the Title to get the new revId

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

Jdforrester-WMF lowered the priority of this task from Unbreak Now! to High.Aug 7 2023, 2:20 PM
Jdforrester-WMF moved this task from To triage to To deploy on the Abstract Wikipedia team board.