[dna-issues] [JBoss JIRA] Updated: (DNA-519) SVN Connector integration test runs in a very long time
Brian Carothers (JIRA)
jira-events at lists.jboss.org
Wed Dec 23 20:54:30 EST 2009
[ https://jira.jboss.org/jira/browse/DNA-519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Carothers updated DNA-519:
--------------------------------
Attachment: DNA-519.patch
Here's an initial patch that gets rid of some extra checks in the SVNRepositoryConnection constructor. Mostly it just optimizes the read-only tests to only copy the repository once per test class instead of once per test. I may be an anomaly, but this reduces the overall build time for the SVN connector by about 80% and the build time whole project by about 20%.
> SVN Connector integration test runs in a very long time
> -------------------------------------------------------
>
> Key: DNA-519
> URL: https://jira.jboss.org/jira/browse/DNA-519
> Project: DNA
> Issue Type: Patch
> Components: Connectors
> Affects Versions: 0.6
> Environment: Mac OS X 10.6 JDK 1.5
> Reporter: Luiz Fernando Teston
> Priority: Critical
> Fix For: 1.1
>
> Attachments: DNA-519.patch
>
>
> During the tests on issue DNA-505 a test called SvnAndJcrIntegrationTest was created inside the project dna-integration-tests. The problem related to the issue DNA-505 was solved successfully but it takes a very long time to run. On my environment it takes more than 270 seconds to run the tests method on SvnAndJcrIntegrationTest. This tests appears to do not load so much nodes. When loading more nodes (for example, changing the Option.READ_DEPTH to a bigger value) the test takes a very long time to run and it could make the use of DNA SVN Connector very difficult in a situation where is needed to load all the repository. I don't know if there's a way to do this load in a faster way, but if it is possible, it should be really useful to my needs.
> Thanks a lot for the help!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the dna-issues
mailing list