removed ambiguous logging
This commit is contained in:
parent
44bb8cefa5
commit
6ed01cf15b
|
@ -41,8 +41,6 @@ import org.eclipse.jetty.server.Request;
|
|||
import org.eclipse.jetty.server.Server;
|
||||
import org.eclipse.jetty.server.ServerConnector;
|
||||
import org.eclipse.jetty.server.handler.AbstractHandler;
|
||||
import org.eclipse.jetty.util.log.Log;
|
||||
import org.eclipse.jetty.util.log.Logger;
|
||||
import org.eclipse.jetty.util.thread.QueuedThreadPool;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
@ -139,8 +137,6 @@ public class HttpClientUploadDuringServerShutdown
|
|||
@Test
|
||||
public void testUploadDuringServerShutdown() throws Exception
|
||||
{
|
||||
final Logger LOG = Log.getLogger(getClass());
|
||||
|
||||
final AtomicReference<EndPoint> endPointRef = new AtomicReference<>();
|
||||
final CountDownLatch serverLatch = new CountDownLatch(1);
|
||||
QueuedThreadPool serverThreads = new QueuedThreadPool();
|
||||
|
@ -184,7 +180,6 @@ public class HttpClientUploadDuringServerShutdown
|
|||
if (afterSetup.get())
|
||||
{
|
||||
associateLatch.countDown();
|
||||
LOG.info("Sending...");
|
||||
}
|
||||
super.send();
|
||||
}
|
||||
|
@ -212,7 +207,6 @@ public class HttpClientUploadDuringServerShutdown
|
|||
try
|
||||
{
|
||||
associateLatch.await(5, TimeUnit.SECONDS);
|
||||
LOG.info("Aborting... {}", getHttpChannel());
|
||||
return super.abort(failure);
|
||||
}
|
||||
catch (InterruptedException x)
|
||||
|
@ -268,7 +262,6 @@ public class HttpClientUploadDuringServerShutdown
|
|||
@Override
|
||||
public void onComplete(Result result)
|
||||
{
|
||||
LOG.info("Completed");
|
||||
completeLatch.countDown();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue