Breadcrumb Home » Administration » Structure » Menus » Tools found on http://drupaltestbot983-mysql/checkout/admin/structure/menu/item/6/edit.
	Other	BreadcrumbTest.php	117	Drupal\system\Tests\Menu\BreadcrumbTest->testBreadCrumbs()

The test passes locally.

CommentFileSizeAuthor
#5 drupal-1836204-5.patch1.09 KBdawehner
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sun’s picture

Status: Active » Fixed
tim.plunkett’s picture

Status: Fixed » Closed (duplicate)

Then it is not fixed.

tim.plunkett’s picture

Priority: Normal » Critical
Status: Closed (duplicate) » Active

The implication was that it would be fixed right away by that issue, but that stalled, and this is wholly unrelated to it.

Random test failures are usually criticals, right? This is blocking several issues.

sun’s picture

Sure, I provided a link to the interdiff in #1 that contains the essential test fix.

dawehner’s picture

Status: Active » Needs review
FileSize
1.09 KB

It seems to be for me, that in #1783196: Get the views plugin manager from the DIC when possible it's not even a random test failure.

Upload the patch from sun.

sun’s picture

Status: Needs review » Reviewed & tested by the community
Berdir’s picture

I would argue that this is not a *random* test failure, because in both cases, it did happen when changes causes menu items to be created in different orders and then it happened always. It's just a hardcoded assumption that shouldn't be one.

But that's a detail, the patch is RTBC :)

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

dawehner’s picture

Thanks for the getting this one in!

dawehner’s picture

Title: Random test failure in Drupal\system\Tests\Menu\BreadcrumbTest » Test failure in Drupal\system\Tests\Menu\BreadcrumbTest
dawehner’s picture

Status: Fixed » Active
Issue tags: -Random test failure

Reopen this issue.

sun’s picture

Priority: Critical » Normal
Issue tags: +Random test failure

mmm, that looks like a different/separate issue to me, which isn't really caused by a improperly authored test, but rather a systematic/architectural problem.

Berdir’s picture

Status: Active » Fixed

Yes, I think those failures are due to the namespaces problems, I made #1836008: Remove drupal_classloader() use in Drupal\Core\AnnotatedClassDiscovery a critical now to get this resolved. I don't know why exactly it only happens to certain patches, but it's reproducable in e.g. #1292470-221: Convert user pictures to Image Field.

Doesn't have anything to do with why this issue was opened originally IMHO, so marking it as fixed.

Berdir’s picture

Note to anyone listening here. Not the real real fix, but we identified how this can be fixed without having to fix the whole namespace thing: #1848200: Random warnings in tests in field_ui.admin.inc.

Automatically closed -- issue fixed for 2 weeks with no activity.