Tcl Source Code

View Ticket
Login
Ticket UUID: 60c12e1499b44c7f59dfcfd670a690accf1c7f13
Title: Tests socket-1[45]\* need replacing.
Type: Bug Version: trunk
Submitter: dgp Created on: 2015-08-02 16:55:11
Subsystem: 27. Channel Types Assigned To: max
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2017-04-29 04:14:59
Resolution: None Closed By: nobody
    Closed on:
Description:
I have to believe that tests socket-14.* and socket-15.* are
intended to test important additions to [socket] that came
in with Tcl 8.6.

In practice though, I am forced to -skip these tests because
they take ***forever*** to run and they fail in normal environments
I test in frequently.

The best tests both pass and fail quickly and only fail when something
is actually wrong.  These tests do not measure up.
User Comments: aspect added on 2017-04-29 04:14:59:

100ms or 1000ms?

https://core.tcl.tk/tcl/artifact/6fe6beec0c4e0e95?ln=115-117

Discrepancy introduced by commit [8a95c913e1] which seems to be getting further attention in bug [19fab15fd6].


pointsman added on 2015-08-05 23:02:58:
FWIW, with current trunk (2e528c3783216) on linux, --enable-symbols --disable-threads, -DPURIFY a

./tcltest ../tests/all.tcl -match socket-1[45]\* -file socket.test

gives

Tests ended at Thu Aug 06 01:00:45 CEST 2015
all.tcl:        Total   165     Passed  35      Skipped 130     Failed  0
Sourced 1 Test Files.
Number of tests skipped for each constraint:
        1       nonportable
        1       win

So, there are platforms, on which this tests pass. Just as a silly datapoint.