~the-test-people/selenium-simple-test/internal

Viewing all changes in revision 527.

  • Committer: Peter Russell
  • Date: 2014-08-29 07:33:23 UTC
  • Revision ID: peter.russell@thetestpeople.com-20140829073323-dfvoj085z8w5n4ux
After forking, scramble the random number generator state in parent proc.

This prevents us from seeing the same random tokens in two tests running
concurrently.

Use of the child process pid as the update source is fine, as we can be
fairly confident we won't get collisions, and this RNG is not used for
security purposes anyway.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: