james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <server-...@james.apache.org>
Subject [jira] [Commented] (JAMES-1635) Can not run unit tests
Date Tue, 24 Nov 2015 09:48:11 GMT

    [ https://issues.apache.org/jira/browse/JAMES-1635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15024119#comment-15024119
] 

Tellier Benoit commented on JAMES-1635:
---------------------------------------

I have :

[INFO] Apache James :: Mailbox :: Cassandra ............... SUCCESS [24:47 min]
[INFO] Apache James MPT Imap Mailbox - Cassandra .......... SUCCESS [30:27 min]
[INFO] Apache James :: Server :: Data :: Cassandra Persistence SUCCESS [03:25 min]

[...]

[INFO] Apache James :: Mailbox :: HBase ................... SUCCESS [24:23 min]
[INFO] Apache James :: Server :: Data :: HBase Persistence  SUCCESS [18:02 min]

[INFO] Total time: 02:11 h

To answer you :

1/ I did the same tests : I experience really long garbage collections.
2/ Agreed. It is a one line modificaion so I tried it.

I'll also add :

4/ Try to subdivise CassandraMailboxModule : creating all tables for instance for Subscriptions,
Quotas, ACL for instance, seems useless. Maybe we can divide Cassandra Mailbox tests by 2...


> 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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message