diff --git a/.github/workflows/db2luw.yml b/.github/workflows/db2luw.yml new file mode 100644 index 000000000..e63b3d00c --- /dev/null +++ b/.github/workflows/db2luw.yml @@ -0,0 +1,38 @@ + +name: Postgres + +on: + workflow_dispatch: + schedule: + - cron: '10 8 * * 2,5' + +jobs: + build: + + runs-on: ${{ matrix.os }} + permissions: + contents: read + packages: write + strategy: + fail-fast: false + matrix: + java_version: [11] + os: [ubuntu-latest] + + steps: + - uses: actions/checkout@v2 + - name: Set up Java + uses: actions/setup-java@v2 + with: + java-version: ${{ matrix.java_version }} + distribution: 'adopt' + - name: Maven cache + uses: actions/cache@v2 + env: + cache-name: maven-cache + with: + path: + ~/.m2 + key: build-${{ env.cache-name }} + - name: db2 + run: mvn clean test -Dprops.file=testconfig/ebean-db2.properties diff --git a/ebean-redis/src/test/java/org/integration/ClusterTest.java b/ebean-redis/src/test/java/org/integration/ClusterTest.java index 6a8dc32ba..64cca33b9 100644 --- a/ebean-redis/src/test/java/org/integration/ClusterTest.java +++ b/ebean-redis/src/test/java/org/integration/ClusterTest.java @@ -114,6 +114,6 @@ public class ClusterTest { } private void allowAsyncMessaging() throws InterruptedException { - Thread.sleep(50); + Thread.sleep(100); } }