diff --git a/.github/workflows/build-mariadb.yml b/.github/workflows/build-mariadb.yml index 863c047f9..a82822fa6 100644 --- a/.github/workflows/build-mariadb.yml +++ b/.github/workflows/build-mariadb.yml @@ -65,3 +65,17 @@ jobs: - name: OAuth2 Build & Test run: ./gradlew --no-daemon -q --console=plain :oauth2-tests:test --fail-fast + + - name: Archive test results + if: always() + uses: actions/upload-artifact@v3 + with: + name: test-results + path: integration-tests/build/reports/ + + - name: Archive server logs + if: always() + uses: actions/upload-artifact@v3 + with: + name: server-logs + path: integration-tests/build/cargo/ diff --git a/.github/workflows/build-mysql.yml b/.github/workflows/build-mysql.yml index ff174a756..f78aa5ff3 100644 --- a/.github/workflows/build-mysql.yml +++ b/.github/workflows/build-mysql.yml @@ -65,3 +65,17 @@ jobs: - name: OAuth2 Build & Test run: ./gradlew --no-daemon -q --console=plain :oauth2-tests:test --fail-fast -PdbType=mysql + + - name: Archive test results + if: always() + uses: actions/upload-artifact@v3 + with: + name: test-results + path: integration-tests/build/reports/ + + - name: Archive server logs + if: always() + uses: actions/upload-artifact@v3 + with: + name: server-logs + path: integration-tests/build/cargo/ diff --git a/.github/workflows/build-postgresql.yml b/.github/workflows/build-postgresql.yml index 24fd1f265..7042c43ac 100644 --- a/.github/workflows/build-postgresql.yml +++ b/.github/workflows/build-postgresql.yml @@ -78,5 +78,5 @@ jobs: if: always() uses: actions/upload-artifact@v3 with: - name: test-results + name: server-logs path: integration-tests/build/cargo/ diff --git a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/jobs/ScheduledJobRunnerConfig.java b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/jobs/ScheduledJobRunnerConfig.java index 38c3059da..3f53eb3c6 100644 --- a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/jobs/ScheduledJobRunnerConfig.java +++ b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/jobs/ScheduledJobRunnerConfig.java @@ -62,7 +62,7 @@ public class ScheduledJobRunnerConfig { JobRepositoryFactoryBean factory = new JobRepositoryFactoryBean(); factory.setDataSource(routingDataSource); factory.setTransactionManager(transactionManager); - factory.setIsolationLevelForCreate("ISOLATION_REPEATABLE_READ"); + factory.setIsolationLevelForCreate("ISOLATION_READ_COMMITTED"); factory.afterPropertiesSet(); return factory; }