406759 supressed stacktrace in ReferrerPushStrategyTest
This commit is contained in:
parent
4c3a777ed5
commit
bf9a4dd0c0
|
@ -57,6 +57,7 @@ import org.eclipse.jetty.util.Fields;
|
|||
import org.eclipse.jetty.util.Promise;
|
||||
import org.eclipse.jetty.util.log.Log;
|
||||
import org.eclipse.jetty.util.log.Logger;
|
||||
import org.eclipse.jetty.util.log.StdErrLog;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Before;
|
||||
import org.junit.Ignore;
|
||||
|
@ -181,6 +182,8 @@ public class ReferrerPushStrategyTest extends AbstractHTTPSPDYTest
|
|||
SettingsInfo settingsInfo = new SettingsInfo(settings);
|
||||
session.settings(settingsInfo);
|
||||
|
||||
((StdErrLog)Log.getLogger("org.eclipse.jetty.spdy.server.http" +
|
||||
".HttpTransportOverSPDY$PushResourceCoordinator$1")).setHideStacks(true);
|
||||
session.syn(new SynInfo(mainRequestHeaders, true), new StreamFrameListener.Adapter()
|
||||
{
|
||||
@Override
|
||||
|
@ -192,6 +195,8 @@ public class ReferrerPushStrategyTest extends AbstractHTTPSPDYTest
|
|||
});
|
||||
|
||||
assertThat("No push stream is received", pushReceivedLatch.await(1, TimeUnit.SECONDS), is(false));
|
||||
((StdErrLog)Log.getLogger("org.eclipse.jetty.spdy.server.http" +
|
||||
".HttpTransportOverSPDY$PushResourceCoordinator$1")).setHideStacks(false);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue