Skip to content

Commit

Permalink
Use different folder for storing pids and gitignore as needed
Browse files Browse the repository at this point in the history
  • Loading branch information
schlessera committed Dec 11, 2024
1 parent 8c9bf85 commit 60f07ce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ certificates/etag-*.txt
# Ignore temporary files generated by the testing proxy.
tests/utils/proxy/__pycache__
tests/utils/proxy/*.pid
tests/utils/pids
2 changes: 1 addition & 1 deletion scripts/start-test-environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if [ $sourced -eq 0 ]; then
fi
fi

PID_DIR="${PROJECT_ROOT}/.test-pids"
PID_DIR="${PROJECT_ROOT}/tests/utils/pids"

# Check if mitmproxy is installed
if ! command -v mitmdump >/dev/null 2>&1; then
Expand Down
2 changes: 1 addition & 1 deletion scripts/stop-test-environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ else
SCRIPT_DIR="$PROJECT_ROOT/scripts"
fi

PID_DIR="${PROJECT_ROOT}/.test-pids"
PID_DIR="${PROJECT_ROOT}/tests/utils/pids"

# Function to safely kill a process
kill_process() {
Expand Down

0 comments on commit 60f07ce

Please sign in to comment.