Page MenuHomePhabricator

Kartographer\Tests\ApiQueryMapDataTest::testExecuteWithMultiple Failed asserting that two arrays are identical.
Closed, ResolvedPublicBUG REPORT

Description

CI break in Kartographer (example):

19:06:07 1) Kartographer\Tests\ApiQueryMapDataTest::testExecuteWithMultiple
19:06:07 Failed asserting that two arrays are identical.
19:06:07 --- Expected
19:06:07 +++ Actual
19:06:07 @@ @@
19:06:07 -Array &0 (
19:06:07 -    0 => Array &1 (
19:06:07 -        0 => '{"_1b3d2dce6411896528c219bf0af1e6c4c3985a1a":[{"type":"Feature","geometry":{"type":"Point","coordinates":[1,2]}}]}'
19:06:07 -    )
19:06:07 -    1 => Array &2 (
19:06:07 -        0 => '{"_6602cbfa7dc93b2b4aa360dadf67eb61bf8792a4":[{"type":"Feature","geometry":{"type":"Point","coordinates":[2,1]}}]}'
19:06:07 -    )
19:06:07 -)
19:06:07 +Array &0 ()
19:06:07 
19:06:07 /workspace/src/extensions/Kartographer/tests/phpunit/ApiQueryMapDataTest.php:147
19:06:07 /workspace/src/extensions/Kartographer/tests/phpunit/ApiQueryMapDataTest.php:91
19:06:07 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:457

Event Timeline

There's a duplicate parse warning in the logs, and there have been changes recently to the handling of that, maybe related? Kartographer itself did not have any recent changes that would look even remotely related.

Change 764836 had a related patch set uploaded (by Gergő Tisza; author: Gergő Tisza):

[mediawiki/extensions/Kartographer@master] CI test

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

Change 764836 abandoned by Gergő Tisza:

[mediawiki/extensions/Kartographer@master] CI test

Reason:

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

Change 764839 had a related patch set uploaded (by Gergő Tisza; author: Gergő Tisza):

[mediawiki/extensions/Kartographer@master] Disable broken test

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

Change 764839 merged by jenkins-bot:

[mediawiki/extensions/Kartographer@master] Disable broken test

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

Change 765370 had a related patch set uploaded (by Gergő Tisza; author: Gergő Tisza):

[mediawiki/extensions/Kartographer@wmf/1.38.0-wmf.23] Disable broken test

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

Change 765370 merged by jenkins-bot:

[mediawiki/extensions/Kartographer@wmf/1.38.0-wmf.23] Disable broken test

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

Change 878951 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):

[mediawiki/extensions/Kartographer@master] Split and fix currently disabled ApiQueryMapData tests

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

Change 878951 merged by jenkins-bot:

[mediawiki/extensions/Kartographer@master] Split and fix currently disabled ApiQueryMapData tests

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