- Issue created by @spokje
- last update
about 1 year ago 30,161 pass - @spokje opened merge request.
- Status changed to Needs review
about 1 year ago 3:35pm 17 September 2023 - Status changed to RTBC
about 1 year ago 2:06pm 18 September 2023 - 🇺🇸United States smustgrave
Seems like a simple update and didn't break anything!
- last update
about 1 year ago 30,168 pass - last update
about 1 year ago 30,168 pass - last update
about 1 year ago 30,205 pass - Status changed to Needs review
about 1 year ago 9:41am 25 September 2023 - 🇬🇧United Kingdom catch
This seems good, I'm also seeing random test failures in HEAD on gitlab for this test: https://git.drupalcode.org/project/drupal/-/jobs/113782
Including the one on the pipeline for this MR: https://git.drupalcode.org/issue/drupal-3387772/-/jobs/93792
We probably need to fix that at the same time as this, otherwise it's hard to show this issue hasn't introduced a new failure.
- Assigned to spokje
- Status changed to Needs work
about 1 year ago 11:09am 25 September 2023 - last update
about 1 year ago 2 pass, 2 fail 43:35 38:21 Running- last update
about 1 year ago 2 pass, 2 fail - last update
about 1 year ago 2 pass, 2 fail - last update
about 1 year ago 2 pass, 2 fail - 🇳🇱Netherlands spokje
Well, that wasn't the most "inspired" test I've encountered.
Extra joy-bonus for 100% failing to pass locally because of clinking a link text and that waiting for the exact same text.Anyway, let's see if this is any better.
- last update
about 1 year ago 2 pass, 2 fail - last update
about 1 year ago 2 pass, 2 fail - last update
about 1 year ago 2 pass, 2 fail - last update
about 1 year ago 2 pass - last update
about 1 year ago 2 pass - last update
about 1 year ago 2 pass - last update
about 1 year ago 2 pass, 2 fail - last update
about 1 year ago 2 pass - last update
about 1 year ago 2 pass - last update
about 1 year ago 2 pass - last update
about 1 year ago 2 pass - last update
about 1 year ago 2 pass - last update
about 1 year ago 2 pass - last update
about 1 year ago 2 pass - last update
about 1 year ago 2 pass - 🇳🇱Netherlands spokje
One (per usual)
SQLSTATE[HY000]: General error: 5 database is locked
exception in the SQLite run in 10.000 runs vs 3 actual failures in 5000 runs of the current test.Actual fix in the MR.
- last update
about 1 year ago 30,208 pass - @spokje opened merge request.
- last update
about 1 year ago 30,208 pass - Issue was unassigned.
- Status changed to Needs review
about 1 year ago 3:12pm 25 September 2023 46:13 45:09 Running- Assigned to spokje
- Status changed to Needs work
about 1 year ago 2:04pm 26 September 2023 - last update
about 1 year ago 30,361 pass - last update
about 1 year ago 30,360 pass - 🇳🇱Netherlands spokje
Moved dropbutton throbber test to the existing test to prevent an extra setup/teardown.
Testing new solution
- last update
about 1 year ago 2 pass - last update
about 1 year ago 2 pass, 2 fail - last update
about 1 year ago 2 pass, 2 fail - last update
about 1 year ago 2 pass - last update
about 1 year ago 2 pass - last update
about 1 year ago 1 pass - last update
about 1 year ago 1 pass - last update
about 1 year ago 1 pass - last update
about 1 year ago 1 pass - last update
about 1 year ago 1 pass - last update
about 1 year ago 1 pass, 2 fail - 🇳🇱Netherlands spokje
Works, besides the usual SQLite locked DB failure, also seems quite a bit faster:
- Old on PHP 8.2/MySQL 8 1000x
22 min build duration;
- New 2000x
24 min build duration;
- Status changed to Needs review
about 1 year ago 12:05pm 29 September 2023 - 🇳🇱Netherlands spokje
Answering the thread from @catch:
One question - is this hold_test_response() stuff still necessary after the other changes? It's only used in this test and MediaLibraryTestBase now.
Yes, we do.
We're testing AJAX behaviour _before_ the response arrives and the throbber/whatever is replaced with the actual response.
Somehowhold_test_response
works, due to delaying the response by writing to a file it seems.Most of the time we're "saved" by the slowness of Drupal CI and the test is finished before the response arrives. However GitLab seems a tad quicker, thus more random failures on testing this stuff.
The whole methodology is besides non-documented not really deterministic, opened 📌 Refactor AJAX-testing hold_test test module Active to do something more in the way we did in ✨ Add a way to delay executions in test runner until terminate event completed in the child site Fixed .
TLDR: Yes, we need it now and in the future, but we need a better way to temporary delay responses to be able to test "inbetween AJAX response-time" behaviour.
- last update
about 1 year ago 30,360 pass - Status changed to RTBC
about 1 year ago 2:04pm 29 September 2023 - Status changed to Fixed
about 1 year ago 2:10pm 29 September 2023 - 🇬🇧United Kingdom catch
Committed/pushed to 11.x and cherry-picked to 10.1.x, thanks!
Automatically closed - issue fixed for 2 weeks with no activity.