incubator-deft-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sleme...@apache.org
Subject svn commit: r1175642 - /incubator/deft/sandbox/src/test/java/org/apache/deft/io/AsynchronousSocketTest.java
Date Mon, 26 Sep 2011 01:12:08 GMT
Author: slemesle
Date: Mon Sep 26 01:12:08 2011
New Revision: 1175642

URL: http://svn.apache.org/viewvc?rev=1175642&view=rev
Log:
Re-order imports

Modified:
    incubator/deft/sandbox/src/test/java/org/apache/deft/io/AsynchronousSocketTest.java

Modified: incubator/deft/sandbox/src/test/java/org/apache/deft/io/AsynchronousSocketTest.java
URL: http://svn.apache.org/viewvc/incubator/deft/sandbox/src/test/java/org/apache/deft/io/AsynchronousSocketTest.java?rev=1175642&r1=1175641&r2=1175642&view=diff
==============================================================================
--- incubator/deft/sandbox/src/test/java/org/apache/deft/io/AsynchronousSocketTest.java (original)
+++ incubator/deft/sandbox/src/test/java/org/apache/deft/io/AsynchronousSocketTest.java Mon
Sep 26 01:12:08 2011
@@ -19,9 +19,6 @@
  */
 package org.apache.deft.io;
 
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertTrue;
-
 import java.io.DataInputStream;
 import java.io.DataOutputStream;
 import java.io.IOException;
@@ -38,6 +35,8 @@ import org.apache.deft.web.AsyncResult;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertTrue;
 
 public class AsynchronousSocketTest {
 
@@ -134,7 +133,7 @@ public class AsynchronousSocketTest {
         };
         socket.connect(HOST, PORT, ccb);
 
-        latch.await(5, TimeUnit.SECONDS);
+        latch.await(20, TimeUnit.SECONDS);
 
         assertEquals(0, latch.getCount());
         // TODO stop ioloop



Mime
View raw message