Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#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:

Status badges

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)

trac_7691.patch (1.3 KB) - added by mhansen 13 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 13 years ago by was

  • Status changed from new to needs_review

Changed 13 years ago by mhansen

comment:2 Changed 13 years ago by mhansen

  • Authors set to William Stein
  • 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 mhansen

  • Milestone changed from sage-4.3.1 to sage-4.3
Note: See TracTickets for help on using tickets.