git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1540 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Greg Wilkins 2010-04-21 12:06:43 +00:00
parent 047a1dd9c0
commit 4a1923d007
2 changed files with 13 additions and 2 deletions

View File

@ -326,6 +326,7 @@ public abstract class AbstractHttpExchangeCancelTest extends TestCase
@Override
protected void onException(Throwable ex)
{
System.err.println("!!! onException");
ex.printStackTrace();
// TODO Auto-generated method stub
super.onException(ex);

View File

@ -54,8 +54,18 @@ public class BlockingHttpExchangeCancelTest extends AbstractHttpExchangeCancelTe
{
boolean enabled=Log.getLog().isDebugEnabled();
Log.getLog().setDebugEnabled(true);
super.testHttpExchangeOnExpire();
Log.getLog().setDebugEnabled(enabled);
boolean ok=false;
try
{
super.testHttpExchangeOnExpire();
ok=true;
}
finally
{
Log.getLog().setDebugEnabled(enabled);
if (!ok)
System.exit(1);
}
}