#7691 closed defect (fixed)
Expect interfaces should not timeout
Reported by: | was | Owned by: | was |
---|---|---|---|
Priority: | major | Milestone: | sage-4.3 |
Component: | interfaces | Keywords: | |
Cc: | Merged in: | sage-4.3.rc1 | |
Authors: | William Stein | Reviewers: | Mike Hansen |
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
Long, long ago I randomly decided that the pexpect interfaces (to maxima, gp, etc.) should timeout if the subprocess takes more than 30 seconds to startup. This is completely arbitrary, and really makes no sense, especially since randomly loaded systems (especially heavy NFS load) can easily and reasonably increase the startup time to > 30 seconds.
Let's change it so that there is *no* timeout. If you type
sage: gp('2+2')
then Sage should simply wait until gp starts, no matter how long that takes. That's just like typing
bash$ gp
on the command line and the command line not killing gp because it takes > 30 seconds to start.
This will also sort out many doctest issues on highly loaded machines.
Attachments (1)
Change History (4)
comment:1 Changed 13 years ago by
- Status changed from new to needs_review
Changed 13 years ago by
comment:2 Changed 13 years ago by
- Merged in set to sage-4.3.rc1
- Resolution set to fixed
- Reviewers set to Mike Hansen
- Status changed from needs_review to closed
comment:3 Changed 13 years ago by
- Milestone changed from sage-4.3.1 to sage-4.3
Here is the patch: