<br><br><div class="gmail_quote">On Fri, Jun 19, 2009 at 8:06 PM, John Arbash Meinel <span dir="ltr">&lt;<a href="mailto:john@arbash-meinel.com">john@arbash-meinel.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Are you using the line written on stdout to determine what test is<br>
running? IIRC that uses the &#39;progress_bar&#39; code which is designed to<br>
&#39;debounce&#39; the output. (It only updates the screen every 200ms or so.)<br>
Since the test that is passing is only taking 49ms, and I would imagine<br>
the next few tests are also probably fast, that in the end it is still<br>
<div class="im">  test_http.TestAuth.test_wrong_pass(pycurl,HTTP/1.1,basicdigest)<br>
</div>which is hanging, it just didn&#39;t update the screen first.<br>
<br>
John<br>
=:-&gt;</blockquote><div><br><br>Ooh!  Yes, in the non-verbose case I am using the last thing on stdout.  And, no, I did not know about the debounce buffering.  When I ctrl-C, I imagine the SIGHUP is not trapped so there&#39;s no chance to flush buffers.  So your theory makes a lot of sense.<br>
</div></div><br>But hold on... wouldn&#39;t the failing test be the other way around?<br><br>non-verbose (uses progress bar)  stalls at <br>   test_http.TestAuth.test_wrong_pass(pycurl,HTTP/1.1,basicdigest)<br>but can&#39;t be trusted because of debounce<br>
<br>*and*<br><br>verbose (does not use progress bar) stalls at <br>    test_http.TestActivity.test_get(urllib,HTTP/1.0,https)<br>which can be trusted because a separate line is written to stdout for every test.<br><br>*and*<br>
<br>in non-verbose mode<br><br>    test_http.TestAuth.test_wrong_pass(pycurl,HTTP/1.1,basicdigest)<br><br>actually *passes*<br><br>So your theory applies but I think the test actually failing in both cases is<br><br>    test_http.TestActivity.test_get(urllib,HTTP/1.0,https)<br>
<br>I&#39;m guessing that&#39;s what you actually meant.  <br><br>So now I not only have pycurl problems (did I mention I also get a few XFAIL on pycurl?) I also have a urllib problem.<br><br>Yikes!  Time to soak brain.<br>
<br>-M<br><br><br><br><br><br>