#17924: Failure in doctest framework when running in docker
-------------------------------------+-------------------------------------
       Reporter:  Vincent.Neri       |        Owner:
           Type:  defect             |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.6
      Component:  doctest framework  |   Resolution:
       Keywords:  docker             |    Merged in:
        Authors:  Vincent Neri       |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/Vincent.Neri/failure_in_doctest_framework_when_running_in_docker|  
add3e53a81dafd966b07727d87c3d441e1e2468f
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by jdemeyer):

 What happens if you add this patch (just this one, not on top of the
 branch of this ticket)?
 {{{
 diff --git a/src/sage/doctest/forker.py b/src/sage/doctest/forker.py
 index fde65c3..91eb232 100644
 --- a/src/sage/doctest/forker.py
 +++ b/src/sage/doctest/forker.py
 @@ -1538,6 +1538,7 @@ class DocTestDispatcher(SageObject):
                              # would leave them open until we call
                              # report(), parallel testing can easily fail
                              # with a "Too many open files" error.
 +                            time.sleep(1)
                              w.save_result_output()
                              finished.append(w)
                      workers = new_workers
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/17924#comment:8>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to