james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [5/7] james-project git commit: JAMES-2446 CassandraCluster wait interval should be smaller
Date Tue, 03 Jul 2018 08:51:43 GMT
JAMES-2446 CassandraCluster wait interval should be smaller

Keep waiting period the same


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/5a65aff0
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/5a65aff0
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/5a65aff0

Branch: refs/heads/master
Commit: 5a65aff0f33edb58813b681127cd388ab7578db5
Parents: 7a9a514
Author: benwa <btellier@linagora.com>
Authored: Fri Jun 29 17:52:45 2018 +0700
Committer: benwa <btellier@linagora.com>
Committed: Tue Jul 3 15:50:45 2018 +0700

----------------------------------------------------------------------
 .../org/apache/james/backends/cassandra/CassandraCluster.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/5a65aff0/backends-common/cassandra/src/test/java/org/apache/james/backends/cassandra/CassandraCluster.java
----------------------------------------------------------------------
diff --git a/backends-common/cassandra/src/test/java/org/apache/james/backends/cassandra/CassandraCluster.java
b/backends-common/cassandra/src/test/java/org/apache/james/backends/cassandra/CassandraCluster.java
index cc885ef..8e9df5b 100644
--- a/backends-common/cassandra/src/test/java/org/apache/james/backends/cassandra/CassandraCluster.java
+++ b/backends-common/cassandra/src/test/java/org/apache/james/backends/cassandra/CassandraCluster.java
@@ -41,8 +41,8 @@ public final class CassandraCluster implements AutoCloseable {
 
     private static final int REPLICATION_FACTOR = 1;
 
-    private static final long SLEEP_BEFORE_RETRY = 200;
-    private static final int MAX_RETRY = 2000;
+    private static final long SLEEP_BEFORE_RETRY = 20;
+    private static final int MAX_RETRY = 20000;
 
     private final CassandraModule module;
     private Session session;


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message