« Previous | Next » 

Revision 68d21a4a


Added by Bastian Waidelich almost 11 years ago

[+BUGFIX] FLOW3 (Testing): Use better uniqid() in ObjectManagerTest

On Windows successive calls of the PHP function uniqid() seem to create the
same string in certain circumstances.
In the ObjectManagerTest we use uniqid() to create mock class names.
This leads to a fatal error in about every fifth execution of the testrunner on
my machine.
This is fixed by specifying the "more_entropy" parameter and prefixing the
id with a random number.

Change-Id: I8bd2dae04ed084eed134b18969a9eac6e4122426
Fixes: #11621

  • added
  • modified
  • copied
  • renamed
  • deleted