331567 IPAccessHandlerTest failed on MacOS fix
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2566 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
26cc7563f5
commit
1c70bb6e45
|
@ -1,4 +1,4 @@
|
|||
|
||||
+ 331567 IPAccessHandlerTest failed on MacOS fix
|
||||
+ 328789 Clean up tmp files from test harnesses
|
||||
+ 331230 Fixed low thread warnings when acceptors>threadpool
|
||||
|
||||
|
|
|
@ -38,7 +38,6 @@ import org.eclipse.jetty.server.Connector;
|
|||
import org.eclipse.jetty.server.Request;
|
||||
import org.eclipse.jetty.server.Server;
|
||||
import org.eclipse.jetty.server.bio.SocketConnector;
|
||||
import org.eclipse.jetty.util.log.Log;
|
||||
import org.junit.AfterClass;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
|
@ -107,7 +106,7 @@ public class IPAccessHandlerTest
|
|||
_handler.setBlack(_black.split(";",-1));
|
||||
|
||||
String request = "GET " + _uri + " HTTP/1.1\n" + "Host: "+ _host + "\n\n";
|
||||
Socket socket = new Socket("localhost", _connector.getLocalPort());
|
||||
Socket socket = new Socket("127.0.0.1", _connector.getLocalPort());
|
||||
socket.setSoTimeout(5000);
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue