Skip to content

Commit 04220e7

Browse files
committed
try again
1 parent 512396a commit 04220e7

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.evergreen/scripts/run-mod-wsgi-tests.sh

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/bin/bash
2-
set -o xtrace
3-
set -o errexit
2+
set -eux
43

54
APACHE=$(command -v apache2 || command -v /usr/lib/apache2/mpm-prefork/apache2) || true
65
if [ -n "$APACHE" ]; then
@@ -18,9 +17,7 @@ fi
1817

1918
PYTHON_VERSION=$(${PYTHON_BINARY} -c "import sys; sys.stdout.write('.'.join(str(val) for val in sys.version_info[:2]))")
2019

21-
# Ensure the C extensions are installed.
22-
rm -rf .venv
23-
${PYTHON_BINARY} -m venv --system-site-packages .venv
20+
# Use the installed venv.
2421
source .venv/bin/activate
2522
pip install -U pip
2623
python -m pip install -e .
@@ -49,5 +46,3 @@ python ${PROJECT_DIRECTORY}/test/mod_wsgi_test/test_client.py -n 25000 -t 100 pa
4946
python ${PROJECT_DIRECTORY}/test/mod_wsgi_test/test_client.py -n 25000 serial \
5047
http://localhost:8080/interpreter1${PROJECT_DIRECTORY} http://localhost:8080/interpreter2${PROJECT_DIRECTORY} || \
5148
(tail -n 100 error_log && exit 1)
52-
53-
rm -rf .venv

0 commit comments

Comments
 (0)