The Needs Review Queue Bot β tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.
Consult the Drupal Contributor Guide β to find step-by-step guides for working with issues.
- Merge request !5600Issue #3350972 by nod_: [random test failure]... β (Closed) created by smustgrave
- π¬π§United Kingdom catch
Bumping to major - this is one of the slowest Functional tests we have.
Note that π Use the API to set up languages in tests that are not specifically testing the language form Fixed is also open but complementary to this issue.
- Status changed to Needs review
12 months ago 11:17am 9 January 2024 - π³πΏNew Zealand quietone
Trying a new approach here where
BrowserTestBase::setup();
is called instead ofparent::setUp()
in the setUp method. - Merge request !6086Resolve #2254189 "Fix performance nodetranslation attempt2" β (Closed) created by smustgrave
- πΊπΈUnited States smustgrave
smustgrave β changed the visibility of the branch 2254189-nodeTranslationUiTest to hidden.
- Status changed to RTBC
12 months ago 2:43pm 9 January 2024 - πΊπΈUnited States smustgrave
So I tried fixing the merge conflict in 5601 but got 100s of merge conflicts. So I just started a new one with the exact changes from 5601.
Testing locally I see tests still pass so think @quietone's solution works!
- Status changed to Needs work
12 months ago 2:49pm 9 January 2024 - πΊπΈUnited States smustgrave
Just saw @joachim comment, should investigate.
- Status changed to Needs review
12 months ago 9:54pm 9 January 2024 - π³πΏNew Zealand quietone
Testing locally without xdebug the test took 3m 33s to run and with this change it was 1m 33s.
- Status changed to RTBC
12 months ago 10:47pm 9 January 2024 - πΊπΈUnited States smustgrave
Wow I didn't think it would be much of a difference.
But thanks for checking the comment!
- π³πΏNew Zealand quietone
I also wanted to see what this would look like without the phstan-ignore line. For now, I'll upload a patch for the work I did. All the tests changed in the patch pass locally. Is it worth doing that to avoid the ignore line?
- last update
12 months ago Custom Commands Failed - last update
12 months ago Custom Commands Failed - last update
12 months ago Custom Commands Failed - πΊπΈUnited States smustgrave
Only meant to trigger once but page froze
- π³πΏNew Zealand quietone
I fixed the error.
But what do you think of the approach?
43:55 40:54 Running- Merge request !6092Fix test performance of Drupal\node\Tests\NodeTranslationUITest attempt3 β (Closed) created by quietone
- Status changed to Needs review
12 months ago 8:05am 10 January 2024 - π³πΏNew Zealand quietone
I made a new branch for the new approach, attempt3.
- π¬π§United Kingdom catch
That looks like a good approach but a naming nitpick - could we call the new helper
doSetUp()
? Just because it more closely matches naming patterns with similar methods that are always called from the same method. - Status changed to Needs work
12 months ago 2:33pm 10 January 2024 - Status changed to Needs review
12 months ago 8:46pm 10 January 2024 - π³πΏNew Zealand quietone
Re #58: I agree that doSetup is a better name. I have made that change.
- Status changed to RTBC
12 months ago 8:59pm 10 January 2024 - πΊπΈUnited States smustgrave
I'd thought I'd have time today to get to it but got sidetracked :(
Rename looks good.
- Status changed to Fixed
12 months ago 9:14pm 10 January 2024 - π¬π§United Kingdom catch
Committed/pushed to 11.x and cherry-picked to 10.2.x, thanks!
Automatically closed - issue fixed for 2 weeks with no activity.