From daeaa0ed105cd51d4b946be958e9a73aab89a8f7 Mon Sep 17 00:00:00 2001 From: Reguel Wermelinger Date: Fri, 10 Nov 2023 09:04:42 +0100 Subject: [PATCH] trying to stabilize build by eager consumption of entity-manager - fixed method order ... as it runs all fine locally :) --- excel-importer-test/pom.xml | 15 +++++++++++++-- ...DataLoader.java => TestZEntityDataLoader.java} | 3 ++- 2 files changed, 15 insertions(+), 3 deletions(-) rename excel-importer-test/src_test/com/axonivy/util/excel/test/{TestEntityDataLoader.java => TestZEntityDataLoader.java} (96%) diff --git a/excel-importer-test/pom.xml b/excel-importer-test/pom.xml index 7fac2e1..dde3008 100644 --- a/excel-importer-test/pom.xml +++ b/excel-importer-test/pom.xml @@ -21,7 +21,7 @@ com.axonivy.ivy.test unit-tester - 10.0.0 + 10.0.14 test @@ -31,9 +31,20 @@ com.axonivy.ivy.ci project-build-plugin - 10.0.6 + 10.0.14 true + + + + org.apache.maven.plugins + maven-surefire-plugin + + alphabetical + + + + diff --git a/excel-importer-test/src_test/com/axonivy/util/excel/test/TestEntityDataLoader.java b/excel-importer-test/src_test/com/axonivy/util/excel/test/TestZEntityDataLoader.java similarity index 96% rename from excel-importer-test/src_test/com/axonivy/util/excel/test/TestEntityDataLoader.java rename to excel-importer-test/src_test/com/axonivy/util/excel/test/TestZEntityDataLoader.java index 8d68a77..52414c2 100644 --- a/excel-importer-test/src_test/com/axonivy/util/excel/test/TestEntityDataLoader.java +++ b/excel-importer-test/src_test/com/axonivy/util/excel/test/TestZEntityDataLoader.java @@ -23,7 +23,7 @@ @IvyTest @SuppressWarnings("restriction") -public class TestEntityDataLoader { +public class TestZEntityDataLoader { private EntityDataLoader loader; private EntityClassReader reader; @@ -74,6 +74,7 @@ void loadArznei(@TempDir Path dir) throws Exception { @BeforeEach void setup() { this.unit = Ivy.persistence().get("testing"); + unit.createEntityManager().clear(); // eager access this.loader = new EntityDataLoader(unit); this.reader = new EntityClassReader(); }