Files
node/tools
Rich Trott 60a78aedb9 tools: make --repeat work with -j in test.py
The repeat option in test.py did not work as expected if `-j` was set to
more than one. Repeated tests running at the same time could share temp
directories and cause test failures. This was observed with:

    tools/test.py -J --repeat=10 parallel/test-fs-watch-recursive

By using copy.deepCopy(), the repeated tests are separate objects and
not references to the same objects. Setting `thread_id` on one of them
will now not change the `thread_id` on all of them. And `thread_id` is
how the temp directory (and common.PORT as well) are determined.

Refs: https://github.com/nodejs/node/pull/9228
PR-URL: https://github.com/nodejs/node/pull/9249
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
2016-10-26 12:15:57 -07:00
..
2016-10-14 07:30:38 +02:00
2016-10-18 15:28:21 -07:00
2016-10-25 10:12:02 -07:00
2013-06-06 15:35:59 -07:00
2016-06-23 09:24:16 +02:00
2016-06-28 17:48:22 -04:00
2016-06-28 17:48:22 -04:00
2016-10-25 13:16:16 +02:00
2016-02-11 13:07:03 -05:00
2014-07-31 08:53:24 -07:00
2009-06-22 14:08:42 +02:00