Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
try: kill server from client
Browse files Browse the repository at this point in the history
  • Loading branch information
unw9527 committed Apr 30, 2024
1 parent 0190271 commit c04b163
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/test_group_1.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: test-group-1
on:
[workflow_dispatch]
[workflow_dispatch, push, pull_request]
- branches:
- lkl/benchmark

jobs:
start-runner:
name: Start self-hosted EC2 runner
Expand Down Expand Up @@ -64,9 +67,7 @@ jobs:
run: cargo build --package storage-node --bin storage_node
- name: Run Server
run: |
cargo run --package storage-node --bin storage_node &
- name: Spin and wait for the Client
run: sleep 120
cargo run --package storage-node --bin storage_node
run-client:
name: Run Parpulse client
needs:
Expand All @@ -92,7 +93,7 @@ jobs:
run: cargo run --package parpulse-client --bin driver
- name: Stop Server
run: |
curl --output /dev/null --silent --head $SERVER_URL/shutdown
curl -X POST $SERVER_URL/shutdown
stop-runner:
name: Stop self-hosted EC2 runner
needs:
Expand Down

0 comments on commit c04b163

Please sign in to comment.