Closed (fixed)
Project:
Drupal core
Version:
8.8.x-dev
Component:
phpunit
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
23 May 2020 at 12:26 UTC
Updated:
9 Jun 2020 at 22:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jungleAdding the "Deprecated assertions" tag to add this into the kanban board https://contribkanban.com/board/Deprecatedassertions
Comment #3
mondrakeOn this.
Comment #4
mondrakeThere is only one call to convert. Removed deprecation silencers, added deprecation tests.
Comment #5
jungleThanks, @mondrake! LGTM. Queued the testing against 9.0.x
Comment #6
sja112 commentedPatch failed to apply on 9.0.x.
Needs re-roll. Working on it.
Thanks.
Comment #7
sja112 commentedPatch for 9.0.x branch.
Comment #8
jungleThanks @sja112! A patch entered a wrong issue
Comment #9
jungleBTW, an interdiff/a raw-interdiff, is always appreciated
Comment #10
sja112 commented@jungle,
Thanks for reporting. My bad didn't check it first before uploading.
Comment #11
sja112 commentedComment #13
kishor_kolekar commentedWorking on it
Comment #14
kishor_kolekar commentedplease review the patch .
Comment #15
mondrake@all, please let core committers review and decide if the 9.1 patch is OK, commit it and mark the issue 'Patch to be ported' BEFORE we start working on the backport.
It would be very complicated at this stage to reflect any feedback on 4 separate patches for each currently active branch, so let's get to it one step at the time.
Thanks. #4 was RTBCed and is the one for 9.1.x ATM.
Comment #16
mondrakeComment #18
xjmThey're still supposed to have one-line summaries technically, but I don't care enough about that particular docs standard to NW this given the redundancy with the
@covers. :)Confirmed that 9.1.x had just the one usage, and committed #4. Thanks!
PTBP for a backport that does not un-silence the deprecation.
Comment #19
sja112 commentedComment #20
sja112 commentedComment #21
sja112 commentedComment #22
sja112 commentedComment #23
sja112 commentedComment #24
sja112 commentedUploaded incorrect patch. Correcting mistake here.
Comment #25
sja112 commentedComment #26
mondrake@sja112 thanks - please be aware that the technical deprecation of all these methods is only implemented on 9.1.x. For backporting, it is sufficient to remove the deprecation test, and the hunk that removes the silencer. For the patch at hand, this one line change should be sufficient.
Comment #27
sja112 commented@mondrake, thanks for bringing this to my notice. I thought the way we handled depreciations in 9.1.x in similar way we will handle on 8.8.x. That's why I updated the
AssertLegacyTraitalong withAssertLegacyTraitTestin patch #25.Patch #26 look good to me. Marking RTBC.
Comment #28
xjmOops, thought I'd fixed the title before but apparently did not save it. Updating so that the commit message is right at least on the other branches.
Thanks @mondrake for fixing the patch; #26 is indeed what we want for the backports at this point.
Guessing that fail on 9.0.x is random but it's an odd one since it also appears to be a deprecation. Going to wait for the test to finish re-running to be safe.
Comment #29
xjmFWIW I did also just now confirm that there's lots of past instances of:
...in "xjm's great collection of HEAD failure emails". I'm guessing a random string is mistakenly triggering the error.
Comment #30
xjmI even also reported it before.
Comment #34
xjmCommitted #26 to 9.0.x, and cherry-picked to 8.9.x and 8.8.x. I also confirmed all three branches had only the one usage. Thanks!
Comment #35
xjmMeant to mention that I reopened #3041318: [random test failure] Various fails when a random string is used in an xpath selector for the random test failure.