Overview
| Artifact ID: | 1fb4b69734bb4785d64287db91938233bcd36959 |
|---|---|
| Ticket: | 578160ffffffffffffffffffffffffffffffffff
http-3.11 fails intermittently on Win32 |
| User & Date: | kennykb on 2002-07-06 17:54:28 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
The 'http-3.11' test suffers from intermittent failures under Windows NT, 2k and XP. The apparent reason is that the subprocess has not yet released the lock on 'outfile' at the time that the main process calls 'removeFile.' ==== http-3.11 http::geturl querychannel with -command FAILED ==== Contents of test case: set query foo=bar set sep "" set i 0 # Create about 120K of query data while {$i < 14} { incr i append query $sep$query set sep & } set file [makeFile $query outdata] set fp [open $file] proc asyncCB {token} { global postResult lappend postResult [http::data $token] } set postResult [list ] set t [http::geturl $posturl -querychannel $fp] http::wait $t set testRes [list [http::status $t] [string length $query] [http::data $t]] # Now do async http::cleanup $t close $fp set fp [open $file] set t [http::geturl $posturl -querychannel $fp -command asyncCB] set postResult [list PostStart] http::wait $t lappend testRes [http::status $t] $postResult removeFile outdata set testRes ---- Result was: error deleting "D:/SourceForge/tcl/win/outdata": permission denied ---- Result should have been (exact matching): ok 122879 {Got 122880 bytes} ok {PostStart {Got 122880 bytes}} ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ==== http-3.11 FAILED - foundin changed to: "obsolete: 8.4b1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "kennykb"
- subsystem changed to: "29. http Package"
- title changed to: "http-3.11 fails intermittently on Win32"
- type changed to: "Bug"