GEODE-1988: Increased the readTimeout * Increased the readTimeout to 20 seconds to prevent test failures in slower systems
Project: http://git-wip-us.apache.org/repos/asf/geode/repo Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/c31ffe53 Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/c31ffe53 Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/c31ffe53 Branch: refs/heads/feature/GEM-1483 Commit: c31ffe535edbc57f0f790ee17da73c1121931acd Parents: e892a55 Author: nabarun <n...@pivotal.io> Authored: Tue Jul 11 19:20:54 2017 -0700 Committer: nabarun <n...@pivotal.io> Committed: Wed Jul 12 11:38:14 2017 -0700 ---------------------------------------------------------------------- .../test/java/org/apache/geode/internal/cache/wan/WANTestBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/geode/blob/c31ffe53/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/WANTestBase.java ---------------------------------------------------------------------- diff --git a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/WANTestBase.java b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/WANTestBase.java index 8aa88b2..a4dc5ca 100644 --- a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/WANTestBase.java +++ b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/WANTestBase.java @@ -2143,7 +2143,7 @@ public class WANTestBase extends JUnit4DistributedTestCase { Pool p; try { p = PoolManager.createFactory().addLocator(host, port0).setPingInterval(250) - .setSubscriptionEnabled(true).setSubscriptionRedundancy(-1).setReadTimeout(2000) + .setSubscriptionEnabled(true).setSubscriptionRedundancy(-1).setReadTimeout(20000) .setSocketBufferSize(1000).setMinConnections(6).setMaxConnections(10).setRetryAttempts(3) .create("pool"); } finally {