The use of mt_rand(0, 127) to create two different uid's means that we have occasional random on line 196. entity_test_mul: Two entities loaded by uid without caring about property translatability.

The failure occurs when the two randomly generate uid's are the same.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alexpott’s picture

Component: jsonld.module » entity system
Issue tags: +Random test failure

Fixing tags

xjm’s picture

Status: Needs review » Reviewed & tested by the community

Nice find!

Berdir’s picture

That must be like the fifth random test failure issue in the entity translation tests... Nice find!

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Die, randomosity, die. Great find.

Committed and pushed to 8.x. Thanks!

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