[jira] [Commented] (JAMES-1635) Can not run unit tests

2015-11-06 Thread Matthieu Baechler (JIRA)

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

Matthieu Baechler commented on JAMES-1635:
--

You didn't even give us the name of the failing test, it won't help much.

We should never create tickets "unit tests are broken" because by definition, 
it's too broad : everytime something is broken, a unit test will be, and you 
could reopen this ticket.

Please open on ticket by broken thing.

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



[jira] [Commented] (JAMES-1635) Can not run unit tests

2015-11-06 Thread Matthieu Baechler (JIRA)

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

Matthieu Baechler commented on JAMES-1635:
--

> I spent ly last 3 days to try to run unit tests. Contributing to James is 
> really hard due to :
> 
> Unit test stability
> Time spent testing : more than one hour for me before getting this 
> error...

I'm sorry to hear that, we experience the same thing here, it's probably that 
James code base needs more work to become more stable. unit test stability 
issues is often the symptom of product issues.

I suggest you help us to tackle these issues.

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



[jira] [Commented] (JAMES-1635) Can not run unit tests

2015-11-06 Thread Tellier Benoit (JIRA)

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

Tellier Benoit commented on JAMES-1635:
---

Ok, a good point is that I'm not the only one to have these kind of troubles.

The point is I'm OK to help on this topic, but I'm a little lost, don't know 
what to do...

On your previous comment : 

 - mvn does not mention a failing test, overwise I'd mentionned it here. By the 
way the error it gave me does not particulary look related to the code.
 - Ok, ticket name is too broad. My bad.

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



[jira] [Created] (JAMES-1639) Ability to serve HTTP requests

2015-11-06 Thread JIRA
Raphaël Ouazana created JAMES-1639:
--

 Summary: Ability to serve HTTP requests
 Key: JAMES-1639
 URL: https://issues.apache.org/jira/browse/JAMES-1639
 Project: James Server
  Issue Type: New Feature
Reporter: Raphaël Ouazana


James should be able to serve HTTP requests. It would allow various features:
* serve JMAP requests
* exposing metrics
* expose Hystix dashboard

The HTTP server should be configurable, at least handling:
* port configuration
* servlet mapping
* filter mapping



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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