thiemowmde added a comment.

I saw the comment. I'm sure you are right and this is a bug somewhere. But the side effect we see here is not a reliable test case to hunt this bug down.

My patch is not meant to be "temporary" or a "workaround". It's the duty of each test case to clean up after it finished. This test case obviously did not do that. It protected a page, did some assertions and then ended with no tearDown or anything. It was relying on the @Database tag to do the cleanup. But this is not "clean". Even if resetting the protection via @Database works, this will only happen after all other test cases in this file succeeded. But test cases should be independent from each other. Here they are not because of the missing reset.


TASK DETAIL
https://phabricator.wikimedia.org/T150512

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: thiemowmde
Cc: KartikMistry, Amire80, Nemo_bis, WMDE-leszek, thiemowmde, hoo, gerritbot, TerraCodes, Luke081515, Jay8g, aude, MarcoAurelio, Addshore, Aklapper, Nikerabbit, Ramalepe, Liugev6, Lewizho99, Maathavan, D3r1ck01, Izno, Wikidata-bugs, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to