geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [04/50] [abbrv] incubator-geode git commit: GEODE-858: Remove 1 second sleep from InternalLocator.startTcpServer
Date Mon, 01 Feb 2016 20:55:21 GMT
GEODE-858: Remove 1 second sleep from InternalLocator.startTcpServer

There is no reason for this sleep, it is causing tests to take longer.


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/1ccf2266
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/1ccf2266
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/1ccf2266

Branch: refs/heads/feature/GEODE-773-2
Commit: 1ccf22662d61db9dafc2a21260c3fe9a856ad172
Parents: 30d2d64
Author: Dan Smith <upthewaterspout@apache.org>
Authored: Mon Jan 25 16:50:36 2016 -0800
Committer: Dan Smith <upthewaterspout@apache.org>
Committed: Tue Jan 26 17:01:37 2016 -0800

----------------------------------------------------------------------
 .../gemfire/distributed/internal/InternalLocator.java       | 9 ---------
 1 file changed, 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/1ccf2266/gemfire-core/src/main/java/com/gemstone/gemfire/distributed/internal/InternalLocator.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/distributed/internal/InternalLocator.java
b/gemfire-core/src/main/java/com/gemstone/gemfire/distributed/internal/InternalLocator.java
index 50a0fa9..c346a45 100644
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/distributed/internal/InternalLocator.java
+++ b/gemfire-core/src/main/java/com/gemstone/gemfire/distributed/internal/InternalLocator.java
@@ -621,15 +621,6 @@ public class InternalLocator extends Locator implements ConnectListener
{
   private void startTcpServer() throws IOException {
     logger.info(LocalizedMessage.create(LocalizedStrings.InternalLocator_STARTING_0, this));
     server.start();
-    
-    try { 
-      Thread.sleep(1000); 
-    } 
-    catch (InterruptedException ie) {
-      // always safe to exit this thread...
-      Thread.currentThread().interrupt();
-      logger.warn(LocalizedMessage.create(LocalizedStrings.ONE_ARG, "Interrupted"), ie);
-    }
   }
   
   public SharedConfiguration getSharedConfiguration() {


Mime
View raw message