Commit f67bd37e authored by Jérome Perrin's avatar Jérome Perrin

erp5: make runUnitTest start zserver on the partition IP

Default behavior of runUnitTest is to listen on 127.0.0.1, which is not
allowed for SlapOS instance.
parent 5862b60b
...@@ -82,7 +82,7 @@ md5sum = 3e650915959ff31c9c13c84069bbcd35 ...@@ -82,7 +82,7 @@ md5sum = 3e650915959ff31c9c13c84069bbcd35
[template-zope] [template-zope]
filename = instance-zope.cfg.in filename = instance-zope.cfg.in
md5sum = a4dda17c1671ead45ac92b7decc32228 md5sum = 1417e754fecf274b32df977bd4134bce
[template-balancer] [template-balancer]
filename = instance-balancer.cfg.in filename = instance-balancer.cfg.in
......
...@@ -118,6 +118,7 @@ command-name = runUnitTest ...@@ -118,6 +118,7 @@ command-name = runUnitTest
command-line-extra = command-line-extra =
--erp5_sql_connection_string '{{ connection_string_list[0] }}' --erp5_sql_connection_string '{{ connection_string_list[0] }}'
--extra_sql_connection_string_list '{{ ','.join(connection_string_list[1:]) }}' --extra_sql_connection_string_list '{{ ','.join(connection_string_list[1:]) }}'
--zserver {{ ipv4 }}
[{{ section('runTestSuite') }}] [{{ section('runTestSuite') }}]
< = run-test-common < = run-test-common
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment