diff --git a/.github/workflows/maven-build-snapshots.yml b/.github/workflows/maven-build-snapshots.yml index 5c70520..030ad67 100644 --- a/.github/workflows/maven-build-snapshots.yml +++ b/.github/workflows/maven-build-snapshots.yml @@ -48,6 +48,18 @@ jobs: run: | echo "Running verify against $COH_VERSION" mvn --file pom.xml -nsu --batch-mode -e -Dcoherence.version=$COH_VERSION clean install + echo "==== Testing end-points =====" + mvn exec:exec > server.log 2>&1 & + PID=$! + sleep 30 + curl -s http://127.0.0.1:8080/service/chart-data/false | jq + curl -s http://127.0.0.1:8080/service/chart-data/true | jq + curl -v http://127.0.0.1:8080/service/start-member/1 + sleep 10 + curl -v http://127.0.0.1:8080/service/stop-member/1 + curl -q http://127.0.0.1:8080/service/developer/hostname + curl -q http://127.0.0.1:8080/service/developer/populate + kill $PID - name: Coherence Demo Jar uses: actions/upload-artifact@v4