Skip to content

Commit

Permalink
trying to stabilize build by eager consumption of entity-manager
Browse files Browse the repository at this point in the history
- fixed method order ... as it runs all fine locally :)
  • Loading branch information
ivy-rew committed Nov 10, 2023
1 parent 571e1ea commit 07d27c0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
15 changes: 13 additions & 2 deletions excel-importer-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<dependency>
<groupId>com.axonivy.ivy.test</groupId>
<artifactId>unit-tester</artifactId>
<version>10.0.0</version>
<version>10.0.14</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand All @@ -31,9 +31,20 @@
<plugin>
<groupId>com.axonivy.ivy.ci</groupId>
<artifactId>project-build-plugin</artifactId>
<version>10.0.6</version>
<version>10.0.14</version>
<extensions>true</extensions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<runOrder>alphabetical</runOrder>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 07d27c0

Please sign in to comment.