Last modified: 2014-02-18 16:19:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T61011, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59011 - Flow edit_existing feature can have edit conflict
Flow edit_existing feature can have edit conflict
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Quality Assurance (Other open bugs)
unspecified
All All
: Unprioritized minor (vote)
: ---
Assigned To: Chris McMahon
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-28 01:25 UTC by spage
Modified: 2014-02-18 16:19 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description spage 2013-12-28 01:25:22 UTC
Flow tests run on CloudBees/Sauce Labs occasionally fail with "failed insert" editing an existing post. Overlapping test sessions may attempt to edit the same topic or post on the Talk:Flow_QA board, which leads to an edit conflict.

It would be better if the test edited a known topic or post rather than the first one on the Flow board. Previous feature tests create topics and posts, so (commence handwaving...) the edit_existing test could take an optional parameter naming a particular text string or item ID to edit  The alternative is for the test to handle edit conflict, but it's a rare occurrence so the code would be untested until it breaks.

A related minor enhancement: to aid debugging issues it would be nice if edit strings like "Post edited0.2921675098405858" included the BROWSER_LABEL.
Comment 1 Gerrit Notification Bot 2013-12-30 15:21:58 UTC
Change 104511 had a related patch set uploaded by Cmcmahon:
add BROWSER_LABEL to edit string per Bug 59011

https://gerrit.wikimedia.org/r/104511
Comment 2 Gerrit Notification Bot 2013-12-30 17:50:42 UTC
Change 104531 had a related patch set uploaded by Cmcmahon:
different topics per browser to prevent edit conflict Bug 59011

https://gerrit.wikimedia.org/r/104531
Comment 3 Gerrit Notification Bot 2013-12-30 18:42:44 UTC
Change 104511 merged by Cmcmahon:
add BROWSER_LABEL to edit string per Bug 59011

https://gerrit.wikimedia.org/r/104511
Comment 4 Gerrit Notification Bot 2013-12-30 18:44:54 UTC
Change 104531 merged by jenkins-bot:
different topics per browser to prevent edit conflict Bug 59011

https://gerrit.wikimedia.org/r/104531
Comment 5 spage 2013-12-31 00:59:05 UTC
Tests fail if BROWSER_LABEL not defined. see my comment in Gerrit change #104511.
Comment 6 Gerrit Notification Bot 2014-01-01 00:28:25 UTC
Change 104783 had a related patch set uploaded by Cmcmahon:
Revert "add BROWSER_LABEL to edit string per Bug 59011"

https://gerrit.wikimedia.org/r/104783
Comment 7 Gerrit Notification Bot 2014-01-01 00:47:43 UTC
Change 104785 had a related patch set uploaded by Spage:
Add some comments

https://gerrit.wikimedia.org/r/104785
Comment 8 Gerrit Notification Bot 2014-01-01 00:48:46 UTC
Change 104785 merged by jenkins-bot:
Add some comments

https://gerrit.wikimedia.org/r/104785
Comment 9 Gerrit Notification Bot 2014-01-01 01:18:09 UTC
Change 104783 merged by Cmcmahon:
Revert "add BROWSER_LABEL to edit string per Bug 59011"

https://gerrit.wikimedia.org/r/104783
Comment 10 Andre Klapper 2014-02-17 19:29:33 UTC
S / Chris:
All four patches were merged a while ago - is there more work left to do here (if yes: please reset the bug report status to NEW or ASSIGNED), or can you close this ticket as RESOLVED FIXED?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links