Skip to content

Commit

Permalink
Add tests to Coherence demo project (#100)
Browse files Browse the repository at this point in the history
* Add tests to Coherence demo project
* add more curl tests
  • Loading branch information
tmiddlet2666 committed May 16, 2024
1 parent 28ae88c commit 611ba67
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/maven-build-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 611ba67

Please sign in to comment.