You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tellier Benoit (JIRA)" <ji...@apache.org> on 2017/11/01 11:04:00 UTC
[jira] [Commented] (MAILBOX-315) Improve Cassandra mailbox test
speed
[ https://issues.apache.org/jira/browse/MAILBOX-315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16233933#comment-16233933 ]
Tellier Benoit commented on MAILBOX-315:
----------------------------------------
https://github.com/linagora/james-project/pull/1084 solved the MPT part
> Improve Cassandra mailbox test speed
> ------------------------------------
>
> Key: MAILBOX-315
> URL: https://issues.apache.org/jira/browse/MAILBOX-315
> Project: James Mailbox
> Issue Type: Bug
> Components: cassandra
> Affects Versions: master
> Reporter: Tellier Benoit
> Priority: Major
>
> By playing with tests I realize we can gain test speed by provisionning tables only on class startup.
> Then for test cleaning, destroying mailboxes is enough (and way faster). This allows gaining some speed while testing *mapper* and *manager* layers, that were before slow.
> Testing speed can go from 2m16s to 12s for CassandraMessageManager test, for instance.
> Total testing time for mailbox/Cassandra on my crappy machine? Less than 7 min (!!!)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org