[infinispan-issues] [JBoss JIRA] (ISPN-6247) Speed up DistWriteSkewTest and its subclasses
Tristan Tarrant (JIRA)
issues at jboss.org
Mon Feb 29 09:50:00 EST 2016
[ https://issues.jboss.org/browse/ISPN-6247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tristan Tarrant updated ISPN-6247:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 8.2.0.Final
Resolution: Done
> Speed up DistWriteSkewTest and its subclasses
> ---------------------------------------------
>
> Key: ISPN-6247
> URL: https://issues.jboss.org/browse/ISPN-6247
> Project: Infinispan
> Issue Type: Task
> Components: Test Suite - Core
> Affects Versions: 8.2.0.Beta2
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Fix For: 8.2.0.CR1, 8.2.0.Final
>
>
> {{DistWriteSkewTest}} is annotated with {{@CleanupAfterMethod}}, so the cluster is recreated for each one of the test methods. Since there are a lot of test methods inherited from {{AbstractClusteredWriteSkewTest}}, the repeated cluster startup and shutdown add a lot of overhead.
> Since the test doesn't start or stop nodes, it should be possible to start the cluster only once for the whole class, eventually using different key names if leftover keys turn out to be a problem.
> The annotation is also used for {{ReplWriteSkewTest}}, {{DistL1WriteSkewTest}}, and {{DistTotalOrderWriteSkewTest}}. It should be possible to reuse the cluster for all of them.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the infinispan-issues
mailing list