Tcl Source Code

Artifact [b7f4b5a3f4]
Login

Artifact b7f4b5a3f4a34b37759ea71855079b0bbddad9837f9642e061e4c39b876bdc25:

Ticket change [b7f4b5a3f4] - Ticket [de232b49f2] write-only nonblocking refchan and Tcl internal buffers status still Open with 3 other changes by apnadkarni 2024-04-02 02:49:54.
D 2024-04-02T02:49:54.512
J icomment Nathan,\r\n\r\nThe\sreason\sI\sbacked\sout\syour\stest\scase\smodifications\swere\sdiffering\ssemantics.\sYou\sadded\san\sadditional\svwait\scommand\sin\seffect\screating\sa\sdelay\sthat\sallows\sthe\sconnection\ssuccess/failure\sto\shappen\sin\stime!\sI\sdo\sthink\sthe\soriginal\stest\scould\shave\sbeen\sbetter\stargeted\sbecause\sthe\sputs\sis\sirrelevant\sto\sthe\sactual\sbug.\sI\smay\sadd\sa\sseparate\stest\scase\sin\smy\sbranch\sto\sillustrate\sthe\sactual\sconnection\sfailure\sbut\sdon't\swant\sto\smuddy\sthe\swaters\shere.\r\n\r\nAnd\sregarding\syour\scomment\s-\r\n\r\n*If\syou\swant\sto\sprove\syour\spoint,\sand\salso\sshow\sthat\syou're\snot\sjust\sholding\smy\schanges\shostage\sto\swin\sthis\sargument,\syou'll\smake\sif\sfail\sconsistently\son\sall\splatforms\sso\sthat\sit\shas\smeaning\sas\sa\stest.*\r\n\r\nSome\stest\scases,\sby\stheir\snature,\scannot\sbe\smade\sto\sfail\sreliably\son\severy\r\nplatform\severy\stime.\sThis\scan\sbe\seither\sbecause\sthe\sfailure\sis\stiming\sdependent,\r\ndepends\son\sthe\slibraries\sin\suse,\soperating\ssystem\sversions\setc.\sExamples\sinclude\r\nfailures\scaused\sby\srace\sconditions\sin\smultithreaded\scases\s-\sit\smay\stake\smillions\r\nof\siterations\sto\scause\sa\sfailure,\smay\sdepend\son\sprocessor\sspeed,\snumber\sof\r\nprocessors\setc.\sSo\salso,\s14.11\sis\stiming\sdependent.\sThere\sis\seffectively\sa\srace\r\nbetween\sthe\sconnection\scompletion\sand\sdelivery\sof\sthe\swrite\sevent.\r\n\r\nFWIW,\son\smy\ssystem\s14.11\sfails\severy\ssingle\stime.\sI\sdo\snot\sknow\sif\sthat\r\nreproducibility\sis\sspecific\sto\sWindows\sor\sto\smy\ssystem.\sDon\sindicated\sit\sis\r\nsporadic\son\shis\s(non-Windows)\ssystem\swhich\sis\san\sindication\sit\sis\stiming\r\nrelated.\r\n\r\nSo\syes,\swhile\sideally\sfailures\swould\sbe\sconsistently\sreproducible,\sacross\sall\r\nplatforms\sall\sthe\stime,\sthat\sis\snot\salways\spossible.\sDoes\snot\smake\sthe\stest\r\ninvalid.\r\n\r\nAnd\sin\scases\slike\sthis,\swhere\sthe\scause\sof\sthe\sfailure\sis\sascertained\sto\sbe\sthe\scode\sbeing\stested,\sall\sthe\smore\sincentive\sto\skeep\sthe\stest.\r\n\r\nThink\sof\stest\sfailures\sanalogous\sto\sthe\suser\sreporting\sa\scrash.\sI\ssuppose\syour\sresponse\swould\sbe\s"Oh\sunless\syou\scan\sshow\sthat\shappens\son\sall\ssystems,\sit\sis\snot\sa\sbug"!
J login apnadkarni
J mimetype text/x-markdown
K de232b49f26da1c18e07513d4c7caa203cd27910
U apnadkarni
Z 652c51df33337e13f35dae8af5d162d5