Skip to content

Commit

Permalink
Merge pull request #43 from ryanshawty/devel
Browse files Browse the repository at this point in the history
Started devel branch, feature development done. Server development is fo...
  • Loading branch information
Ryan committed Dec 22, 2014
2 parents d7fc111 + e73e2c9 commit 1f8498e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/test/Server/ServerTest.java
Expand Up @@ -80,9 +80,7 @@ public void testMultipleLogins2Sockets() throws InterruptedException, UnknownHos
}

@Test
public void testMultipleLogins() throws InterruptedException, IOException {
Thread.sleep(100);

public void testMultipleLogins() throws InterruptedException, IOException {
Packet0Login packet = new Packet0Login("test");
p.writePacket(packet);
// Expect a confirmation
Expand Down Expand Up @@ -128,7 +126,6 @@ public void testDisconnect() throws IOException{
public void testKeepAlive() throws InterruptedException, IOException{
Packet2KeepAlive packet2keepalive = new Packet2KeepAlive();
p.writePacket(packet2keepalive);
Thread.sleep(100);
byte b = dis.readByte();
assertEquals(2, b);

Expand All @@ -141,7 +138,6 @@ public void testKeepAlive() throws InterruptedException, IOException{
@Test
public void testMalformedPacket() throws InterruptedException, IOException{
dos.writeByte(10);
Thread.sleep(100);
assertEquals(1, dis.readByte());
}

Expand Down

0 comments on commit 1f8498e

Please sign in to comment.