You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by up...@apache.org on 2017/05/31 16:15:19 UTC

geode git commit: Upping read timeout in HAInterestTestCase

Repository: geode
Updated Branches:
  refs/heads/develop 806751805 -> 76ff50613


Upping read timeout in HAInterestTestCase

These tests seem to occasionally fail. Upping the timeout from 1 second
to get rid of spurious timing issues.


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

Branch: refs/heads/develop
Commit: 76ff50613ad7703305c2d7dec0b4d1c8f5bb0873
Parents: 8067518
Author: Dan Smith <up...@apache.org>
Authored: Tue May 30 16:37:33 2017 -0700
Committer: Dan Smith <up...@apache.org>
Committed: Tue May 30 16:37:33 2017 -0700

----------------------------------------------------------------------
 .../geode/internal/cache/tier/sockets/HAInterestTestCase.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/76ff5061/geode-core/src/test/java/org/apache/geode/internal/cache/tier/sockets/HAInterestTestCase.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/org/apache/geode/internal/cache/tier/sockets/HAInterestTestCase.java b/geode-core/src/test/java/org/apache/geode/internal/cache/tier/sockets/HAInterestTestCase.java
index 858f603..5d3ae2d 100755
--- a/geode-core/src/test/java/org/apache/geode/internal/cache/tier/sockets/HAInterestTestCase.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/cache/tier/sockets/HAInterestTestCase.java
@@ -919,7 +919,7 @@ public class HAInterestTestCase extends JUnit4DistributedTestCase {
     try {
       p = (PoolImpl) PoolManager.createFactory().addServer(host, PORT1).addServer(host, PORT2)
           .addServer(host, PORT3).setSubscriptionEnabled(true).setSubscriptionRedundancy(-1)
-          .setReadTimeout(1000).setPingInterval(1000)
+          .setReadTimeout(10000).setPingInterval(1000)
           // retryInterval should be more so that only registerInterste thread
           // will initiate failover
           // .setRetryInterval(20000)
@@ -948,7 +948,7 @@ public class HAInterestTestCase extends JUnit4DistributedTestCase {
     PoolImpl p;
     try {
       p = (PoolImpl) PoolManager.createFactory().addServer(host, PORT1).addServer(host, PORT2)
-          .setSubscriptionEnabled(true).setSubscriptionRedundancy(-1).setReadTimeout(1000)
+          .setSubscriptionEnabled(true).setSubscriptionRedundancy(-1).setReadTimeout(10000)
           .setSocketBufferSize(32768).setMinConnections(6).setPingInterval(200)
           // .setRetryInterval(200)
           // retryAttempts 3
@@ -975,7 +975,7 @@ public class HAInterestTestCase extends JUnit4DistributedTestCase {
     props.setProperty(LOCATORS, "");
     new HAInterestTestCase().createCache(props);
     PoolImpl p = (PoolImpl) PoolManager.createFactory().addServer(hostName, PORT1)
-        .setSubscriptionEnabled(true).setSubscriptionRedundancy(-1).setReadTimeout(1000)
+        .setSubscriptionEnabled(true).setSubscriptionRedundancy(-1).setReadTimeout(10000)
         // .setRetryInterval(20)
         .create("HAInterestBaseTestPool");
     AttributesFactory factory = new AttributesFactory();