[
https://issues.apache.org/jira/browse/JAMES-1635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14989541#comment-14989541
]
ASF GitHub Bot commented on JAMES-1635:
---------------------------------------
GitHub user chibenwa opened a pull request:
https://github.com/apache/james-project/pull/17
JAMES-1635 Increase embedded Cassandra startup timeout
Increase embedded Cassandra startup timeout to the value configured in
CassandraCluster used for unit tests.
This will avoid tests to fail on less effective computers.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/chibenwa/james-project JAMES-1635
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/james-project/pull/17.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #17
----
commit 6dee03a010ccc37441089dc62394577a18f7ad3c
Author: benwa <[email protected]>
Date: 2015-11-04T11:39:15Z
JAMES-1635 Increase embedded Cassandra startup timeout
----
> Can not run unit tests
> ----------------------
>
> Key: JAMES-1635
> URL: https://issues.apache.org/jira/browse/JAMES-1635
> Project: James Server
> Issue Type: Bug
> Affects Versions: Trunk
> Reporter: Tellier Benoit
> Fix For: Trunk
>
>
> I got this exception, either in cassandra mailbox and Cassandra backend ;
> For example :
> initializeTypesShouldCreateTheTypes(org.apache.james.backends.cassandra.init.CassandraTypeProviderTest)
> Time elapsed: 14.353 sec <<< FAILURE!
> java.lang.AssertionError: Cassandra daemon did not start within timeout
> at
> org.cassandraunit.utils.EmbeddedCassandraServerHelper.startEmbeddedCassandra(EmbeddedCassandraServerHelper.java:130)
> at
> org.cassandraunit.utils.EmbeddedCassandraServerHelper.startEmbeddedCassandra(EmbeddedCassandraServerHelper.java:85)
> at
> org.cassandraunit.utils.EmbeddedCassandraServerHelper.startEmbeddedCassandra(EmbeddedCassandraServerHelper.java:64)
> at
> org.cassandraunit.utils.EmbeddedCassandraServerHelper.startEmbeddedCassandra(EmbeddedCassandraServerHelper.java:56)
> at
> org.cassandraunit.utils.EmbeddedCassandraServerHelper.startEmbeddedCassandra(EmbeddedCassandraServerHelper.java:52)
> at
> org.apache.james.backends.cassandra.CassandraCluster.<init>(CassandraCluster.java:57)
> at
> org.apache.james.backends.cassandra.CassandraCluster.create(CassandraCluster.java:51)
> at
> org.apache.james.backends.cassandra.init.CassandraTypeProviderTest.setUp(CassandraTypeProviderTest.java:66)
> I increased the max retry count of the Cassandra cluster but it does not
> solve my problem.
> It really slow down my worlflow...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]