From 6bd13ba178c52d077d37dfbe14c5a3ae71c5fc2a Mon Sep 17 00:00:00 2001 From: Vittorio Parrella Date: Sat, 18 May 2024 15:41:47 +0200 Subject: [PATCH] fix killing dangling qpep instance --- .github/workflows/run-performance.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-performance.yml b/.github/workflows/run-performance.yml index efe085b7..01502275 100644 --- a/.github/workflows/run-performance.yml +++ b/.github/workflows/run-performance.yml @@ -236,12 +236,13 @@ jobs: - name: Update configuration run: | envsubst < ${{ github.workspace }}/docker/server-env/server/config/qpep.yml.tpl > ${{ github.workspace }}/build/config/qpep.yml + cat ${{ github.workspace }}/build/config/qpep.yml - name: Run server run: | + sudo pkill -e -n -s SIGINT qpep cd build/ sudo ./qpep &> test.log & - echo $! > server.pid - name: Run data server run: | @@ -299,7 +300,7 @@ jobs: if: always() run: | cd build/ - kill -s SIGINT $(cat server.pid) + sudo pkill -e -n -s SIGINT qpep - name: Stop Data Server if: always()