Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run RedirectTest.retransmitCacheAsyncBlocking9m() 10 times
Browse files Browse the repository at this point in the history
ppalaga committed Jan 29, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 123cb39 commit 6cb2afa
Showing 2 changed files with 31 additions and 93 deletions.
33 changes: 1 addition & 32 deletions .github/actions/build-and-run-jvm-tests/action.yml
Original file line number Diff line number Diff line change
@@ -39,35 +39,4 @@ runs:
- name: mvn -B formatter:validate install
shell: bash
run: ./mvnw -B formatter:validate install -fae -ntp

# Same as the previous but only JVM tests and different default ConduitFactory
- name: QUARKUS_CXF_DEFAULT_HTTP_CONDUIT_FACTORY=URLConnectionHTTPConduitFactory mvn -B test
shell: bash
env:
QUARKUS_CXF_DEFAULT_HTTP_CONDUIT_FACTORY: URLConnectionHTTPConduitFactory
run: ./mvnw -B clean install -fae -ntp

- name: 'Upload generated Antora docs site'
uses: actions/upload-artifact@v4
with:
name: docs
path: docs/target/site

- name: Fail if there are uncommitted changes
shell: bash
run: |
[[ -z $(git status --porcelain | grep -v antora.yml) ]] || { echo 'There are uncommitted changes'; git status; git diff; exit 1; }
- name: Tar Maven Repo
shell: bash
run: |
tar -czf ${{ runner.temp }}/maven-repo.tgz -C ~ .m2/repository
# Avoid caching our own artifacts
rm -Rf ~/.m2/repository/io/quarkiverse/cxf
- name: Persist Maven Repo
uses: actions/upload-artifact@v4
with:
name: maven-repo
path: ${{ runner.temp }}/maven-repo.tgz
retention-days: 1
run: ./mvnw -B clean install -fae -ntp -DskipTests -Dquarkus.build.skip
91 changes: 30 additions & 61 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -34,67 +34,36 @@ jobs:
with:
java-version: ${{ env.JAVA_VERSION }}

native-tests:
strategy:
fail-fast: false
matrix:
testModule: ['client', 'client-server', 'fastinfoset', 'hc5', 'metrics', 'mtls', 'mtls -Djks', 'mtom-awt', 'opentelemetry', 'saaj', 'santuario-xmlsec', 'server', 'ws-rm-client', 'ws-security', 'ws-security -Djks', 'ws-security-policy', 'ws-security-policy -Djks', 'ws-trust', 'wsdl2java', 'wsdl2java-no-config']
name: ${{matrix.testModule}} native tests
needs: build-and-run-jvm-tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: run-native-test
uses: ./.github/actions/run-native-test
with:
java-version: ${{ env.JAVA_VERSION }}
test-module-spec: ${{matrix.testModule}}

windows-tests:
name: Windows tests
needs: build-and-run-jvm-tests
runs-on: windows-latest
steps:

- uses: actions/checkout@v4

- name: Set up JDK ${{ env.JAVA_VERSION }}
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{ env.JAVA_VERSION }}

- name: Download Maven Repo
uses: actions/download-artifact@v4
with:
name: maven-repo
path: ..
- name: Extract Maven Repo
- name: cd integration-tests/client-server && mvn test -Dtest=RedirectTest#retransmitCacheAsyncBlocking9m
shell: bash
run: |
tar -xzf ../maven-repo.tgz -C ~
- name: mvn test
run: cd integration-tests/client-server && ../../mvnw test -Dtest=RedirectTest#retransmitCacheAsyncBlocking9m
- name: cd integration-tests/client-server && mvn test -Dtest=RedirectTest#retransmitCacheAsyncBlocking9m
shell: bash
run: |
./mvnw -B test \
-Dskip-testcontainers-tests \
-Dformat.skip \
-Denforcer.skip \
-pl '!:quarkus-cxf-docs,!:quarkus-cxf-test-ws-rm-server-native' \
-ntp \
-fae
# Same as the previous but different default ConduitFactory
- name: QUARKUS_CXF_DEFAULT_HTTP_CONDUIT_FACTORY=URLConnectionHTTPConduitFactory mvn test
env:
QUARKUS_CXF_DEFAULT_HTTP_CONDUIT_FACTORY: URLConnectionHTTPConduitFactory
run: cd integration-tests/client-server && ../../mvnw test -Dtest=RedirectTest#retransmitCacheAsyncBlocking9m
- name: cd integration-tests/client-server && mvn test -Dtest=RedirectTest#retransmitCacheAsyncBlocking9m
shell: bash
run: cd integration-tests/client-server && ../../mvnw test -Dtest=RedirectTest#retransmitCacheAsyncBlocking9m
- name: cd integration-tests/client-server && mvn test -Dtest=RedirectTest#retransmitCacheAsyncBlocking9m
shell: bash
run: cd integration-tests/client-server && ../../mvnw test -Dtest=RedirectTest#retransmitCacheAsyncBlocking9m
- name: cd integration-tests/client-server && mvn test -Dtest=RedirectTest#retransmitCacheAsyncBlocking9m
shell: bash
run: cd integration-tests/client-server && ../../mvnw test -Dtest=RedirectTest#retransmitCacheAsyncBlocking9m
- name: cd integration-tests/client-server && mvn test -Dtest=RedirectTest#retransmitCacheAsyncBlocking9m
shell: bash
run: cd integration-tests/client-server && ../../mvnw test -Dtest=RedirectTest#retransmitCacheAsyncBlocking9m
- name: cd integration-tests/client-server && mvn test -Dtest=RedirectTest#retransmitCacheAsyncBlocking9m
shell: bash
run: cd integration-tests/client-server && ../../mvnw test -Dtest=RedirectTest#retransmitCacheAsyncBlocking9m
- name: cd integration-tests/client-server && mvn test -Dtest=RedirectTest#retransmitCacheAsyncBlocking9m
shell: bash
run: cd integration-tests/client-server && ../../mvnw test -Dtest=RedirectTest#retransmitCacheAsyncBlocking9m
- name: cd integration-tests/client-server && mvn test -Dtest=RedirectTest#retransmitCacheAsyncBlocking9m
shell: bash
run: cd integration-tests/client-server && ../../mvnw test -Dtest=RedirectTest#retransmitCacheAsyncBlocking9m
- name: cd integration-tests/client-server && mvn test -Dtest=RedirectTest#retransmitCacheAsyncBlocking9m
shell: bash
run: cd integration-tests/client-server && ../../mvnw test -Dtest=RedirectTest#retransmitCacheAsyncBlocking9m
- name: cd integration-tests/client-server && mvn test -Dtest=RedirectTest#retransmitCacheAsyncBlocking9m
shell: bash
run: |
./mvnw -B clean test \
-Dskip-testcontainers-tests \
-Dformat.skip \
-Denforcer.skip \
-pl '!:quarkus-cxf-docs,!:quarkus-cxf-test-ws-rm-server-native' \
-ntp \
-fae
run: cd integration-tests/client-server && ../../mvnw test -Dtest=RedirectTest#retransmitCacheAsyncBlocking9m

0 comments on commit 6cb2afa

Please sign in to comment.