<br><br><div class="gmail_quote">On Fri, Jun 19, 2009 at 8:06 PM, John Arbash Meinel <span dir="ltr"><<a href="mailto:john@arbash-meinel.com">john@arbash-meinel.com</a>></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 'progress_bar' code which is designed to<br>
'debounce' 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't update the screen first.<br>
<br>
John<br>
=:-></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's no chance to flush buffers. So your theory makes a lot of sense.<br>
</div></div><br>But hold on... wouldn'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'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'm guessing that'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>