You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by ar...@apache.org on 2022/07/28 18:08:29 UTC
[fineract] branch develop updated: Added archiving test results and server logs on GitHub workflows
This is an automated email from the ASF dual-hosted git repository.
arnold pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git
The following commit(s) were added to refs/heads/develop by this push:
new dc5abeacb Added archiving test results and server logs on GitHub workflows
dc5abeacb is described below
commit dc5abeacb970a3c999f995f02d6a524900876d51
Author: Arnold Galovics <ga...@gmail.com>
AuthorDate: Thu Jul 28 15:27:57 2022 +0200
Added archiving test results and server logs on GitHub workflows
---
.github/workflows/build-mariadb.yml | 14 ++++++++++++++
.github/workflows/build-mysql.yml | 14 ++++++++++++++
.github/workflows/build-postgresql.yml | 2 +-
.../infrastructure/jobs/ScheduledJobRunnerConfig.java | 2 +-
4 files changed, 30 insertions(+), 2 deletions(-)
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;
}