#9739: Handle duplicate file basenames when testing multiple files in parallel
-------------------------------+--------------------------------------------
Reporter: mpatel | Owner: mvngu
Type: defect | Status: needs_review
Priority: critical | Milestone: sage-4.6
Component: doctest | Keywords:
Author: Mitesh Patel | Upstream: N/A
Reviewer: Robert Bradshaw | Merged:
Work_issues: |
-------------------------------+--------------------------------------------
Changes (by mpatel):
* reviewer: => Robert Bradshaw
Comment:
Replying to [comment:11 robertwb]:
> Note that you don't want to create a race condition with two tests
> trying to create the same directory at the same time. Perhaps mangling
> "/" -> "." would be sufficient.
Thanks, Robert. How about adding the process ID, too, or instead? I'd
also like to reduce the chance of races when we run multiple `sage -t(p)`
commands simultaneously with the same `DOT_SAGE`. Or are there other
potential races under this directory, e.g., in `DOT_SAGE/gap`?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9739#comment:12>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.