mirror of
https://github.com/hapifhir/hapi-fhir.git
synced 2025-02-13 00:14:57 +00:00
* consolidated Batch2Helper check status in assert before running maintenance ignore illegal job instance state transition * Fix mock tests * rename intermittent to IT * extra logging * into to debug * review feedback * added more logging * removed fasttracking. replaced with support for triggering a maintenance run * fixed tests * fixed tests * add asserts * licenses * snakeyaml cve version bump * data migration * merge origin/master * merge origin/master * fix test (support triggering jobs when scheduling is disabled) * add counter to abort potential infinite loop after 100000 calls * compile error * move multipartition mdm tests out to a separate IT update mongo job instance creation with new logic * fix race condition * back out infinite loop circuit breaker. it breaks terminology tests that depend on this loop running > 100000 times. * fix test (triggered job key was missing group) * revert saveAllDeferred * Almost finished getting JpaPersistenceR4IT to pass * testBulkExportDeleteForOnGoingJob still not passing * testBulkExportDeleteForOnGoingJob still not passing * Removed method `fetchInstanceAndMarkInProgress`. It was clobbering other state transitions like CANCELLED. * undo rename of cancelled to cancelRequested. Thymeleaf depends on the old name * ExpandResourcesStep requires a synchronous search * Tests are passing but man testBulkExportDeleteForOnGoingJob is a flakey test * fix test * fix test * change log * allow ERRORED -> FAILED state transition * add a timeout to saveAllDeferred() * improve error message on timeout message * fix tests * added more logging * added more logging * fix semaphore issue * Msg.code * fix test * javadoc * switch all batch loggers to batch troubleshooting log * add unit test, improve logging * move TimeoutManager to its own class. Add tests. * fix tests * comment cleanup * test race condition * review feedback Co-authored-by: Ken Stevens <ken@smilecdr.com>
114 lines
3.0 KiB
XML
114 lines
3.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
<artifactId>hapi-deployable-pom</artifactId>
|
|
<version>6.2.0-PRE4-SNAPSHOT</version>
|
|
<relativePath>../hapi-deployable-pom/pom.xml</relativePath>
|
|
</parent>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<name>HAPI FHIR JPA Server Test R5</name>
|
|
<artifactId>hapi-fhir-jpaserver-test-r5</artifactId>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
<artifactId>hapi-fhir-jpaserver-test-utilities</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<configuration>
|
|
<!--<useManifestOnlyJar>false</useManifestOnlyJar>-->
|
|
<forkCount>1</forkCount>
|
|
<reuseForks>false</reuseForks>
|
|
<runOrder>alphabetical</runOrder>
|
|
<includes>
|
|
<include>**/*IT.java</include>
|
|
</includes>
|
|
<useModulePath>false</useModulePath>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>integration-test</goal>
|
|
<goal>verify</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
|
<version>${junit_version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<runOrder>alphabetical</runOrder>
|
|
<argLine>@{argLine} ${surefire_jvm_args}</argLine>
|
|
<forkCount>0.6C</forkCount>
|
|
<excludes>*StressTest*</excludes>
|
|
<skip>${skipFailsafe}</skip>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>NOPARALLEL</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<forkCount>1</forkCount>
|
|
<excludes>
|
|
<exclude>**/stresstest/*</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>CI</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<forkCount>1</forkCount>
|
|
<runOrder>alphabetical</runOrder>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project>
|