chukwa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ey...@apache.org
Subject svn commit: r1616998 - in /chukwa/trunk: CHANGES.txt src/test/java/org/apache/hadoop/chukwa/datacollection/adaptor/TestSocketAdaptor.java
Date Sat, 09 Aug 2014 17:36:28 GMT
Author: eyang
Date: Sat Aug  9 17:36:27 2014
New Revision: 1616998

URL: http://svn.apache.org/r1616998
Log:
CHUKWA-726. Reduce SocketAdaptor test case timer delay from 120 to 10 seconds.  (Eric Yang)

Modified:
    chukwa/trunk/CHANGES.txt
    chukwa/trunk/src/test/java/org/apache/hadoop/chukwa/datacollection/adaptor/TestSocketAdaptor.java

Modified: chukwa/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/chukwa/trunk/CHANGES.txt?rev=1616998&r1=1616997&r2=1616998&view=diff
==============================================================================
--- chukwa/trunk/CHANGES.txt (original)
+++ chukwa/trunk/CHANGES.txt Sat Aug  9 17:36:27 2014
@@ -74,6 +74,8 @@ Release 0.6 - Unreleased
 
   BUGS
 
+    CHUKWA-726. Reduce SocketAdaptor test case timer delay from 120 to 10 seconds.  (Eric
Yang)
+
     CHUKWA-725. Remove Solr config file from license scanning.  (Eric Yang)
 
     CHUKWA-716. Fixed undefined System Properties for test cases and test case dependency.
 (Eric Yang)

Modified: chukwa/trunk/src/test/java/org/apache/hadoop/chukwa/datacollection/adaptor/TestSocketAdaptor.java
URL: http://svn.apache.org/viewvc/chukwa/trunk/src/test/java/org/apache/hadoop/chukwa/datacollection/adaptor/TestSocketAdaptor.java?rev=1616998&r1=1616997&r2=1616998&view=diff
==============================================================================
--- chukwa/trunk/src/test/java/org/apache/hadoop/chukwa/datacollection/adaptor/TestSocketAdaptor.java
(original)
+++ chukwa/trunk/src/test/java/org/apache/hadoop/chukwa/datacollection/adaptor/TestSocketAdaptor.java
Sat Aug  9 17:36:27 2014
@@ -26,7 +26,7 @@ import junit.framework.TestCase;
 public class TestSocketAdaptor extends TestCase {
   public void testBindRetry() {
     int port = 9181;
-    int delay = 120000;
+    int delay = 10000;
     ServerSocket sock1 = null;
     ServerSocket sock2 = null;
     SocketAdaptor adaptor = new SocketAdaptor();
@@ -42,7 +42,7 @@ public class TestSocketAdaptor extends T
       fail("IOException binding to " + port);
     }
     // now try binding to the same port through SocketAdaptor
-    // making sure we retry until the specified time of 120s
+    // making sure we retry until the specified time of 10s
     long startTime = System.currentTimeMillis();
     try {
       sock2 = new ServerSocket();



Mime
View raw message