File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -804,7 +804,7 @@ tasks:
804
804
- func : run tests
805
805
vars :
806
806
TEST_NAME : mod_wsgi
807
- SUB_TEST_NAME : embedded-mode
807
+ SUB_TEST_NAME : embedded
808
808
tags : [mod_wsgi]
809
809
- name : mod-wsgi-embedded-mode-replica-set
810
810
commands :
@@ -814,7 +814,7 @@ tasks:
814
814
- func : run tests
815
815
vars :
816
816
TEST_NAME : mod_wsgi
817
- SUB_TEST_NAME : embedded-mode
817
+ SUB_TEST_NAME : embedded
818
818
tags : [mod_wsgi]
819
819
820
820
# Ocsp tests
Original file line number Diff line number Diff line change @@ -897,7 +897,7 @@ def create_mod_wsgi_tasks():
897
897
task_name += topology .replace ("_" , "-" )
898
898
server_vars = dict (TOPOLOGY = topology )
899
899
server_func = FunctionCall (func = "run server" , vars = server_vars )
900
- vars = dict (TEST_NAME = "mod_wsgi" , SUB_TEST_NAME = test )
900
+ vars = dict (TEST_NAME = "mod_wsgi" , SUB_TEST_NAME = test . split ( "-" )[ 0 ] )
901
901
test_func = FunctionCall (func = "run tests" , vars = vars )
902
902
tags = ["mod_wsgi" ]
903
903
commands = [server_func , test_func ]
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ def setup_mod_wsgi(sub_test_name: str) -> None:
30
30
env ["MOD_WSGI_CONF" ] = "mod_wsgi_test.conf"
31
31
else :
32
32
raise ValueError ("mod_wsgi sub test must be either 'standalone' or 'embedded'" )
33
- apache = which ("apache " )
33
+ apache = which ("apache2 " )
34
34
if not apache and Path ("/usr/lib/apache2/mpm-prefork/apache2" ).exists ():
35
35
apache = "/usr/lib/apache2/mpm-prefork/apache2"
36
36
if apache :
You can’t perform that action at this time.
0 commit comments