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

Commit

Permalink
make server client run concurrently
Browse files Browse the repository at this point in the history
  • Loading branch information
J-HowHuang committed Apr 26, 2024
1 parent ec9777b commit a79afd6
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/benchmark_group_2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,19 +68,26 @@ jobs:
run: |
sleep 5
cat ${{ github.workspace }}/logs/app_6379.log
- name: test server
run: echo $(curl -sSL $SERVER_IP:26379/s3/test1.txt)
- name: spin
run: sleep 60
run-benchmark:
name: Run Benchmark
needs:
- start-runner
- run-server
runs-on: ${{ needs.start-runner.outputs.benchmark-label }} # run the job on the newly created runner
env:
SERVER_URL: http://${{ needs.start-runner.outputs.private-ip }}:26379
steps:
- name: Clone Server
uses: actions/checkout@v4
- name: Build Benchmark driver
run: cargo build
- name: Wait for server
run: |
until curl --output /dev/null --silent --head --fail $SERVER_URL/; do
printf '.'
sleep 5
done
- name: Run Benchmark
run: cargo run
stop-runner:
Expand Down

0 comments on commit a79afd6

Please sign in to comment.