matching table now stores the correct ip of the hosts
#story[1188]
This commit is contained in:
@@ -22,7 +22,7 @@ public class MatchTableTest {
|
||||
public void testTable() {
|
||||
HostGame entry = new HostGame("127.0.0.1", 4942, (byte)1, (byte)1, RaceStatusEnum.PRESTART, (byte)6, (byte)1);
|
||||
|
||||
testTable.addEntry(entry);
|
||||
testTable.addEntry("127.0.0.1", 3779, entry);
|
||||
|
||||
assertEquals(testTable.getMatchTable().get(new TableKey("127.0.0.1", 4942)), Arrays.asList(1, 1, 2, 6, 1));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user