Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-1635

Can not run unit tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Trunk
    • Trunk
    • None
    • None

    Description

      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...

      Attachments

        Activity

          People

            Unassigned Unassigned
            btellier Benoit Tellier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: