Skip to content
Tcl Source Code History Of Ticket 578160ffffffffff
Login

History Of Ticket 578160ffffffffff

Artifacts Associated With Ticket 578160ffffffffff

  1. Ticket change [1fb4b69734] (rid 91197) by kennykb on 2002-07-06 17:54:28:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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
      
      
    4. foundin initialized to: "obsolete: 8.4b1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "kennykb"
    9. subsystem initialized to: "29. http Package"
    10. title initialized to: "http-3.11 fails intermittently on Win32"
    11. type initialized to: "Bug"
  2. Ticket change [d6b4efbd77] (rid 123850) by hobbs on 2002-07-25 03:11:07:

    1. closedate changed to: "2002-07-24T20:11:07"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      I cannot repeat this myself - perhaps it needs a tests run in a 
      slow network environment?  In any case, if someone wants to 
      add an after that's fine, but otherwise I can't reproduce.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. resolution changed to: "Works For Me"
    7. status changed to: "Closed"
    8. username: "hobbs"