Skip to content

Commit 415b591

Browse files
authored
Update perf-testing-setup.yml
1 parent 59c3c0e commit 415b591

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/perf-testing-setup.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ jobs:
9595
echo "Tests completed, terminating py-spy..."
9696
echo "Py-Spy pid is $py_spy_id"
9797
# docker exec $container_id sh -c "kill -2 $py_spy_id"
98+
py_spy_id=$(docker exec $container_id sh -c "ps aux | grep '[p]y-spy record'" | awk '{print $2}')
99+
echo "Py-Spy pid is $py_spy_id"
98100
docker exec $container_id sh -c "ls -ltr /home/site/wwwroot"
99101
docker exec $container_id sh -c "ls -ltr"
100102
sleep 40

0 commit comments

Comments
 (0)