diff --git a/.github/workflows/benchmark_group_2.yml b/.github/workflows/benchmark_group_2.yml index 2ead841..3346199 100644 --- a/.github/workflows/benchmark_group_2.yml +++ b/.github/workflows/benchmark_group_2.yml @@ -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: