Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-6247

Speed up DistWriteSkewTest and its subclasses

    Details

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dan.berindei Dan Berindei
                Reporter:
                dan.berindei Dan Berindei
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: