Make test cases ipv4 compatible (they were ipv6 only...)
This commit is contained in:
@@ -130,7 +130,7 @@ public class RunRankingGameTest extends TestBase {
|
||||
Socket s[] = new Socket[9];
|
||||
long playerId[] = new long[9];
|
||||
for (int i = 0; i < 9; i++) {
|
||||
s[i] = new Socket("::1", 7234);
|
||||
s[i] = new Socket("localhost", 7234);
|
||||
String username = "test" + (i+1);
|
||||
String password = username;
|
||||
playerId[i] = userInit(s[i], username, password);
|
||||
|
||||
@@ -54,7 +54,7 @@ public abstract class TestBase {
|
||||
@Before
|
||||
public void setUp() throws Exception {
|
||||
Thread.sleep(2000);
|
||||
sock = new Socket("::1", 7234);
|
||||
sock = new Socket("localhost", 7234);
|
||||
encoder = CoderFactory.getInstance().newEncoder("BER");
|
||||
decoder = CoderFactory.getInstance().newDecoder("BER");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user