From e9f16e4a7656f4ad3215b1c3de2b9ac7ebfba868 Mon Sep 17 00:00:00 2001 From: adamw Date: Fri, 1 Apr 2011 23:16:23 +0200 Subject: [PATCH] HHH-6014: ignoring the performance tests --- .../test/performance/ComplexInsertPerformance.java | 12 ++++++++---- .../InsertsOneTransactionPerformance.java | 8 ++++++-- .../envers/test/performance/InsertsPerformance.java | 8 ++++++-- .../envers/test/performance/UpdatesPerformance.java | 10 +++++++--- 4 files changed, 27 insertions(+), 11 deletions(-) diff --git a/hibernate-envers/src/test/java/org/hibernate/envers/test/performance/ComplexInsertPerformance.java b/hibernate-envers/src/test/java/org/hibernate/envers/test/performance/ComplexInsertPerformance.java index 32bbd6c27c..ddc784c976 100644 --- a/hibernate-envers/src/test/java/org/hibernate/envers/test/performance/ComplexInsertPerformance.java +++ b/hibernate-envers/src/test/java/org/hibernate/envers/test/performance/ComplexInsertPerformance.java @@ -23,18 +23,22 @@ */ package org.hibernate.envers.test.performance; -import java.io.IOException; -import java.util.Date; -import java.util.HashSet; -import javax.persistence.EntityManager; + import org.hibernate.ejb.Ejb3Configuration; import org.hibernate.envers.test.performance.complex.ChildEntity1; import org.hibernate.envers.test.performance.complex.ChildEntity2; import org.hibernate.envers.test.performance.complex.RootEntity; +import org.junit.Ignore; + +import javax.persistence.EntityManager; +import java.io.IOException; +import java.util.Date; +import java.util.HashSet; /** * @author Adam Warski (adam at warski dot org) */ +@Ignore public class ComplexInsertPerformance extends AbstractPerformanceTest { public void configure(Ejb3Configuration cfg) { cfg.addAnnotatedClass(RootEntity.class); diff --git a/hibernate-envers/src/test/java/org/hibernate/envers/test/performance/InsertsOneTransactionPerformance.java b/hibernate-envers/src/test/java/org/hibernate/envers/test/performance/InsertsOneTransactionPerformance.java index 52a6a5a2ed..9ea35fcffd 100644 --- a/hibernate-envers/src/test/java/org/hibernate/envers/test/performance/InsertsOneTransactionPerformance.java +++ b/hibernate-envers/src/test/java/org/hibernate/envers/test/performance/InsertsOneTransactionPerformance.java @@ -23,14 +23,18 @@ */ package org.hibernate.envers.test.performance; -import java.io.IOException; -import javax.persistence.EntityManager; + import org.hibernate.ejb.Ejb3Configuration; import org.hibernate.envers.test.entities.StrTestEntity; +import org.junit.Ignore; + +import javax.persistence.EntityManager; +import java.io.IOException; /** * @author Adam Warski (adam at warski dot org) */ +@Ignore public class InsertsOneTransactionPerformance extends AbstractPerformanceTest { public void configure(Ejb3Configuration cfg) { cfg.addAnnotatedClass(StrTestEntity.class); diff --git a/hibernate-envers/src/test/java/org/hibernate/envers/test/performance/InsertsPerformance.java b/hibernate-envers/src/test/java/org/hibernate/envers/test/performance/InsertsPerformance.java index d5ecd73d52..b91b25f535 100644 --- a/hibernate-envers/src/test/java/org/hibernate/envers/test/performance/InsertsPerformance.java +++ b/hibernate-envers/src/test/java/org/hibernate/envers/test/performance/InsertsPerformance.java @@ -22,14 +22,18 @@ * Boston, MA 02110-1301 USA */ package org.hibernate.envers.test.performance; -import java.io.IOException; -import javax.persistence.EntityManager; + import org.hibernate.ejb.Ejb3Configuration; import org.hibernate.envers.test.entities.StrTestEntity; +import org.junit.Ignore; + +import javax.persistence.EntityManager; +import java.io.IOException; /** * @author Adam Warski (adam at warski dot org) */ +@Ignore public class InsertsPerformance extends AbstractPerformanceTest { public void configure(Ejb3Configuration cfg) { cfg.addAnnotatedClass(StrTestEntity.class); diff --git a/hibernate-envers/src/test/java/org/hibernate/envers/test/performance/UpdatesPerformance.java b/hibernate-envers/src/test/java/org/hibernate/envers/test/performance/UpdatesPerformance.java index 1fdd4a738a..be60999b83 100644 --- a/hibernate-envers/src/test/java/org/hibernate/envers/test/performance/UpdatesPerformance.java +++ b/hibernate-envers/src/test/java/org/hibernate/envers/test/performance/UpdatesPerformance.java @@ -22,17 +22,21 @@ * Boston, MA 02110-1301 USA */ package org.hibernate.envers.test.performance; + +import org.hibernate.ejb.Ejb3Configuration; +import org.hibernate.envers.test.entities.StrTestEntity; +import org.junit.Ignore; + +import javax.persistence.EntityManager; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Random; -import javax.persistence.EntityManager; -import org.hibernate.ejb.Ejb3Configuration; -import org.hibernate.envers.test.entities.StrTestEntity; /** * @author Adam Warski (adam at warski dot org) */ +@Ignore public class UpdatesPerformance extends AbstractPerformanceTest { public void configure(Ejb3Configuration cfg) { cfg.addAnnotatedClass(StrTestEntity.class);