HADOOP-18118. [Follow on] Fix test failure in TestHttpServer (#4900)
Signed-off-by: Erik Krogen <xkrogen@apache.org>
This commit is contained in:
parent
30c36ef25a
commit
620dd37712
@ -747,7 +747,10 @@ public void testBacklogSize() throws Exception
|
||||
public void testBacklogSize2() throws Exception
|
||||
{
|
||||
Configuration conf = new Configuration();
|
||||
assertEquals(500, conf.get(HttpServer2.HTTP_SOCKET_BACKLOG_SIZE_KEY));
|
||||
HttpServer2 srv = createServer("test", conf);
|
||||
List<ServerConnector> listeners = srv.getListeners();
|
||||
ServerConnector listener = (ServerConnector)listeners.get(0);
|
||||
assertEquals(500, listener.getAcceptQueueSize());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
Reference in New Issue
Block a user