Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests to Coherence demo project #100

Merged
merged 2 commits into from
May 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading