#7108: Sage 4.1.2.rc0 doctest failures on 32-bit Fedora 9 (cicero on skynet)
---------------------+------------------------------------------------------
Reporter: mvngu | Owner: tbd
Type: defect | Status: new
Priority: blocker | Milestone: sage-4.1.2
Component: doctest | Keywords:
Reviewer: | Author:
Merged: |
---------------------+------------------------------------------------------
Comment(by was):
I also see exactly the same twist.py failure on opensuse 64-bit. I think
this is likely just a poorly written doctest.
Yes, in fact, looking at the doctest it is:
{{{
Run a command::
sage: sleep(0.5)
sage: print
get_url('http://localhost:%s/simple/compute?session=%s&code=2*2' % (port,
session))
{
"status": "done",
"files": [],
"cell_id": 1
}
___S_A_G_E___
4
}}}
To be frank, it is utterly ridiculous to think that a doctest like this is
going to work all the time. Often computers get heavily loaded during
testing, or are slow because of DNS configuration, virtualization, etc.
The above test needs to be rewritten. Two options:
* try repeatedly until status is done.
* put some ...'s in the output.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7108#comment:3>
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
-~----------~----~----~----~------~----~------~--~---