Skip to content

Commit 12707ba

Browse files
committed
update env var name
1 parent 82c0e41 commit 12707ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.evergreen/scripts/mod_wsgi_tester.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def setup_mod_wsgi(sub_test_name: str) -> None:
4848
env["MOD_WSGI_SO"] = so_file
4949
env["PYTHONHOME"] = f"/opt/python/{python_version}"
5050
env["PROJECT_DIRECTORY"] = project_directory = str(ROOT)
51-
write_env("APACHE", apache)
51+
write_env("APACHE_BINARY", apache)
5252
write_env("APACHE_CONFIG", apache_config)
5353
uri1 = f"http://localhost:8080/interpreter1{project_directory}"
5454
write_env("TEST_URI1", uri1)
@@ -83,7 +83,7 @@ def test_mod_wsgi() -> None:
8383

8484

8585
def teardown_mod_wsgi() -> None:
86-
apache = os.environ["APACHE"]
86+
apache = os.environ["APACHE_BINARY"]
8787
apache_config = os.environ["APACHE_CONFIG"]
8888

8989
run_command(f"{apache} -k stop -f {ROOT}/test/mod_wsgi_test/{apache_config}")

0 commit comments

Comments
 (0)