From 07d27c0f3d913fb394e822ccbbfa698a0a3de1da 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 +++++++++++++-- .../util/excel/test/TestEntityDataLoader.java | 1 + 2 files changed, 14 insertions(+), 2 deletions(-) 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/TestEntityDataLoader.java index 8d68a77..79ea79f 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/TestEntityDataLoader.java @@ -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(); }