Skip to content
Tcl Source Code View Ticket
Login

View Ticket

socket-11.11 timeout/error

Closed / Fixed792159ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 21 years ago
Descriptionplain2003-08-20 20:32:27
On a 360Mhz HP-UX workstation, the 8.3.x/8.4.x 
socket.test case socket-11.11 takes 27 seconds to 
complete without error, but the test case only allows 10 
seconds.  Case 11.11 ends with a result of "0 989" 
instead of "0 2690".  In turn this causes cases 11.12 and 
11.13 to fail with results "1" instead of "EOF is sticky" 
and "0" instead of "65566".  This problem is more 
apparent with 8.4 because "make test" executed in the 
unix directory is now able to successfully initiate remote 
socket testing (path to remote.tcl problem was fixed).

I suggest that the result of test case socket-11.11 be 
changed to include a 3rd list element, $done, which will 
show whether the failure was from timeout.  I suggest 
the problem be fixed by both writing less data, and 
allowing more time.
dgpplain2003-08-21 03:39:25
Logged In: YES 
user_id=80530


passing on to the maintainer of
socket.test...
dgpplain2006-03-15 11:09:29
Logged In: YES 
user_id=80530


Tests socket-11.* in the
Tcl 8.4.13 test suite have not
changed since Tcl 8.4.4
against which this bug was
reported.

There are changes in
Tcl 8.5a4, but they don't
address the problems
described here.  They
deal with use of 
[interp bgerror] and
dropping of Mac classic support.

So the tests haven't changed.

Whether or not the code has
changed so that the tests no
longer fail as described, I
cannot say.  I have no HP-UX
system.
andreas_kupriesplain2006-03-16 00:39:27
Logged In: YES 
user_id=75003

Thanks Don. I have an HPUX machine, however there the tests
do not fail, i.e. 'works For Me'. I guess my CPU is faster
than 360 MHz (model 9000/800/L2000-44 -- google -- 440 MHz).

Even so, I see no direct or real harm in upping the timeout,
except that the test will take longer in case of failure by
timeout. Neither should there be a problem with adding the
value of 'done' to actual and expected results.
andreas_kupriesplain2006-03-16 07:39:26
Logged In: YES 
user_id=75003

Committed changes to both 8.4 and HEAD branches.
Log in (anonymous is fine) to add a comment.