debug
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:
parent
047a1dd9c0
commit
4a1923d007
|
@ -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);
|
||||
|
|
|
@ -54,8 +54,18 @@ public class BlockingHttpExchangeCancelTest extends AbstractHttpExchangeCancelTe
|
|||
{
|
||||
boolean enabled=Log.getLog().isDebugEnabled();
|
||||
Log.getLog().setDebugEnabled(true);
|
||||
boolean ok=false;
|
||||
try
|
||||
{
|
||||
super.testHttpExchangeOnExpire();
|
||||
ok=true;
|
||||
}
|
||||
finally
|
||||
{
|
||||
Log.getLog().setDebugEnabled(enabled);
|
||||
if (!ok)
|
||||
System.exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue