james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAILBOX-315) Improve Cassandra mailbox test speed
Date Mon, 30 Oct 2017 06:54:00 GMT
Tellier Benoit created MAILBOX-315:

             Summary: 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

By playing with tests I realize we can gain test speed by  provisionning tables only on class

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

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

View raw message