Page MenuHomePhabricator

Failed asserting that two arrays are equal in Flow\Tests\Api\ApiFlowViewTopicListTest::testTocOnly
Open, Needs TriagePublic

Description

See: https://integration.wikimedia.org/ci/job/wmf-quibble-vendor-mysql-php72-docker/49/console

21:04:06 There was 1 failure:
21:04:06 
21:04:06 1) Flow\Tests\Api\ApiFlowViewTopicListTest::testTocOnly
21:04:06 TOC-only output for "newest" order
21:04:06 Failed asserting that two arrays are equal.
21:04:06 --- Expected
21:04:06 +++ Actual
21:04:06 @@ @@
21:04:06 -                        0 => 'uoin6lbpgkyvw4j8'
21:04:06 -                        1 => 'uoin6lbpgf1sjylw'
21:04:06 +                        0 => 'uoin6lbr0dkcjzec'
21:04:06 +                        1 => 'uoin6lbpgkyvw4j8'
21:04:06                      )
21:04:06                      'posts' => Array (
21:04:06                          'uoin6lbpgkyvw4j8' => Array (...)
21:04:06 -                        'uoin6lbpgf1sjylw' => Array (...)
21:04:06 +                        'uoin6lbr0dkcjzec' => Array (...)
21:04:06                      )
21:04:06                      'revisions' => Array (
21:04:06                          'uoin6lbpgmxx06ic' => Array (...)
21:04:06 -                        'uoin6lbpgh0to0l0' => Array (...)
21:04:06 +                        'uoin6lbr0fjdo1dg' => Array (...)
21:04:06                      )
21:04:06                      'links' => Array (
21:04:06                          'pagination' => Array (
21:04:06                              'fwd' => Array (
21:04:06 -                                'url' => '/index.php?title=Talk:Flow_QA&topiclist_offset-dir=fwd&topiclist_limit=2&topiclist_offset-id=uoin6lbpgf1sjylw&topiclist_sortby=newest'
21:04:06 +                                'url' => '/index.php?title=Talk:Flow_QA&topiclist_offset-dir=fwd&topiclist_limit=2&topiclist_offset-id=uoin6lbpgkyvw4j8&topiclist_sortby=newest'
21:04:06 
21:04:06 /workspace/src/extensions/Flow/tests/phpunit/api/ApiFlowViewTopicListTest.php:171
21:04:06 /workspace/src/tests/phpunit/MediaWikiTestCase.php:424
21:04:06 /workspace/src/maintenance/doMaintenance.php:94

Related patch: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Thanks/+/472803.

Event Timeline

D3r1ck01 created this task.Nov 14 2018, 8:25 PM
Restricted Application added a project: Growth-Team. · View Herald TranscriptNov 14 2018, 8:25 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

After a recheck, @matmarex tried merging again and it works! Flaky test again!

D3r1ck01 updated the task description. (Show Details)Nov 14 2018, 9:29 PM

Change 473627 had a related patch set uploaded (by D3r1ck01; owner: Alangi Derick):
[mediawiki/extensions/Flow@master] Mark a flaky test as broken in ApiFlowViewTopicListTest

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

Change 473627 merged by jenkins-bot:
[mediawiki/extensions/Flow@master] Mark a flaky test as broken in ApiFlowViewTopicListTest

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