Skip to content
This repository has been archived by the owner on Oct 1, 2022. It is now read-only.

Commit

Permalink
Removed obsolete assertions from AsyncChannelTest.
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-eberle committed Apr 26, 2015
1 parent 3d2a005 commit 99ef805
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,10 @@ public void testAsyncReceiveTime() throws InterruptedException {
TestPacket testPackage = new TestPacket("bla", -234234);

for (int i = 0; i < RUNS; i++) {
long start = System.currentTimeMillis();
c1.sendPacketAsync(ENetworkKey.TEST_PACKET, testPackage);
assertTrue(System.currentTimeMillis() - start < 5); // check that the sending is asynchronous
}

Thread.sleep(30);
Thread.sleep(40);

List<TestPacket> packets = listener.popBufferedPackets();

Expand Down

0 comments on commit 99ef805

Please sign in to comment.