- 🇦🇺Australia acbramley
I think this may be causing a random failure 🐛 [random test failure] MenuUiTest::testMenuAdministration can generate "escaped locator" Active
- 🇦🇺Australia acbramley
- Status changed to Needs review
over 1 year ago 1:30am 14 April 2023 - @acbramley opened merge request.
- Status changed to Needs work
over 1 year ago 10:41pm 15 April 2023 - 🇺🇸United States smustgrave
Changes look good but could the issue summary be updated with the solution.
Example if this is just replacing $this->getRandomGenerator()->name($length
- Status changed to Needs review
over 1 year ago 10:34pm 16 April 2023 - Status changed to RTBC
over 1 year ago 10:46pm 18 April 2023 - last update
over 1 year ago 29,286 pass - last update
over 1 year ago 29,303 pass - last update
over 1 year ago 29,305 pass 50:48 49:33 Running- last update
over 1 year ago 29,362 pass - last update
over 1 year ago 29,369 pass - last update
over 1 year ago 29,369 pass - last update
over 1 year ago 29,374 pass - Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Not currently mergeable. - Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Not currently mergeable. - Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Not currently mergeable. - Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Not currently mergeable. - Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Not currently mergeable. - Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Not currently mergeable. - Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Not currently mergeable. - Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Not currently mergeable. - Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Not currently mergeable. - Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Waiting for branch to pass - Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Not currently mergeable. - Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Not currently mergeable. - Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7
35:48 35:48 Queueing - Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Not currently mergeable. - Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Not currently mergeable. - Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Not currently mergeable. - Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7
35:48 35:48 Queueing - Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Not currently mergeable. - Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7
5:39 5:39 Queueing - Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Not currently mergeable. - Status changed to Needs work
over 1 year ago 12:29pm 16 June 2023 - 🇬🇧United Kingdom longwave UK
Needs rebase/merge following 📌 [PHPUnit 10] Provide a static alternative to randomMachineName() and implement in data providers Fixed
Also added a couple of nitpicks to the test.
- First commit to issue fork.
- Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Not currently mergeable. - last update
over 1 year ago 29,489 pass - @rpayanm opened merge request.
- Status changed to Needs review
over 1 year ago 3:39pm 16 June 2023 - 🇺🇾Uruguay rpayanm
Added the @longwave's suggestions and moved the changes to the branch 11.x
Please review. - Status changed to RTBC
over 1 year ago 5:51pm 16 June 2023 - 🇺🇸United States smustgrave
Reviewing 4193
Reroll seems good and points made on the tests have been addressed.
- Status changed to Needs work
over 1 year ago 5:59pm 16 June 2023 - 🇬🇧United Kingdom longwave UK
I don't think the reroll is correct, it is undoing some of the recent work in 📌 Use RandomGeneratorTrait in UnitTestCase and remove direct implementations of randomMachineName and getRandomGenerator Fixed and 📌 [PHPUnit 10] Provide a static alternative to randomMachineName() and implement in data providers Fixed
- last update
over 1 year ago 29,489 pass - Status changed to Needs review
over 1 year ago 8:58pm 16 June 2023 - Status changed to Needs work
over 1 year ago 10:10pm 18 June 2023 - 🇺🇾Uruguay rpayanm
@smustgrave sorry, I don't see the comment, can you link it in a comment, please.
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
I ran into this very problem too over at #3361534-57: KernelTestBase::$strictConfigSchema = TRUE and BrowserTestBase::$strictConfigSchema = TRUE do not actually strictly validate → .
In fixing it, I noticed that a bunch of places do
strtolower($this->randomMachineName(8))
Shouldn't this issue remove all those
strtolower()
(andmb_strtolower()
) occurrences? 🤔Because this issue only touches
Random::machineName()
, but\Drupal\Tests\RandomGeneratorTrait::randomMachineName()
calls it:protected function randomMachineName($length = 8) { return Random::machineName($length); }
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
This now blocks #3361534 since per @longwave in #3361534-58: KernelTestBase::$strictConfigSchema = TRUE and BrowserTestBase::$strictConfigSchema = TRUE do not actually strictly validate → , I don't think I can land that issue without this being fixed first.
The current implementation is on its own responsible for a huge number of invalid config entities, but for now we're all blissfully unaware 😅
- last update
over 1 year ago 29,793 pass, 1 fail - 🇧🇪Belgium borisson_ Mechelen, 🇧🇪
This last commit introduced new test failures
- last update
over 1 year ago Custom Commands Failed - Status changed to RTBC
over 1 year ago 1:22pm 20 July 2023 - 🇧🇪Belgium borisson_ Mechelen, 🇧🇪
Discussed with @longwave that the
(new Random())
here that is wrapped in an anonymous instance is the problem which lead to the the test fail in the last patch. Reverted that change, back to rtbc. - last update
over 1 year ago 29,829 pass - last update
over 1 year ago 29,829 pass - Status changed to Needs work
over 1 year ago 2:47pm 20 July 2023 - 🇬🇧United Kingdom longwave UK
Added typehint and default value to the new property.
Somewhere the code that actually uses this new method has been lost; we need to update \Drupal\TestTools\Random to use this?
- last update
over 1 year ago 29,827 pass, 1 fail - Status changed to Needs review
over 1 year ago 7:29am 21 July 2023 - last update
over 1 year ago 29,826 pass, 1 fail - Open on Drupal.org →Environment: PHP 8.2 & MySQL 8last update
over 1 year ago Waiting for branch to pass - Status changed to RTBC
over 1 year ago 2:50pm 21 July 2023 - 🇺🇸United States smustgrave
Remarking. #69 appeared to be addressed in https://git.drupalcode.org/project/drupal/-/merge_requests/4193/diffs?co...
Previous reviews still apply.
- First commit to issue fork.
- last update
over 1 year ago 29,876 pass -
longwave →
committed 9a1ce8c4 on 11.x
Issue #2972573 by borisson_, Lendude, rpayanm, acbramley, anmolgoyal74,...
-
longwave →
committed 9a1ce8c4 on 11.x
- Status changed to Fixed
over 1 year ago 10:34am 22 July 2023 - 🇬🇧United Kingdom longwave UK
- 🇫🇮Finland lauriii Finland
Looks like this caused a new random fail: 🐛 Random test fail in Drupal\Tests\Component\Utility\RandomTest::testRandomMachineNamesUniqueness Needs work . 😅
Automatically closed - issue fixed for 2 weeks with no activity.