Commit 00f91d80 authored by Xiaowu Zhang's avatar Xiaowu Zhang Committed by Thomas Gambier

stack/erp5: initialise test-runner-address-list also for saucelab test

parent b7988645
...@@ -86,7 +86,7 @@ md5sum = d400c3d449ce437a0ded77ee3d5c5df2 ...@@ -86,7 +86,7 @@ md5sum = d400c3d449ce437a0ded77ee3d5c5df2
[template-zope] [template-zope]
filename = instance-zope.cfg.in filename = instance-zope.cfg.in
md5sum = 3a6c7dec898abc7d1506957154ef566e md5sum = 5cbfcc02ffe6c2ae8cdf412134addd8f
[template-balancer] [template-balancer]
filename = instance-balancer.cfg.in filename = instance-balancer.cfg.in
......
...@@ -391,6 +391,10 @@ wrapper-path = ${buildout:bin-directory}/${:_buildout_section_name_} ...@@ -391,6 +391,10 @@ wrapper-path = ${buildout:bin-directory}/${:_buildout_section_name_}
[{{ section("wait_activities") }}] [{{ section("wait_activities") }}]
<= watch_activities <= watch_activities
{% if test_runner_enabled and test_runner_node_count -%}
{% for _ in range(test_runner_node_count) %}
{% do test_runner_address_list.append((ipv4, next_port())) %}
{% endfor %}
{% if saucelabs_dict -%} {% if saucelabs_dict -%}
[test-zelenium-runner-parameter] [test-zelenium-runner-parameter]
...@@ -411,11 +415,6 @@ context = ...@@ -411,11 +415,6 @@ context =
key password test-zelenium-runner-parameter:password key password test-zelenium-runner-parameter:password
key bin_path test-zelenium-runner-parameter:bin-path key bin_path test-zelenium-runner-parameter:bin-path
{% else -%} {% else -%}
{% if test_runner_enabled and test_runner_node_count -%}
{% for _ in range(test_runner_node_count) %}
{% do test_runner_address_list.append((ipv4, next_port())) %}
{% endfor %}
[{{ section('run-unit-test-userhosts-wrapper') }}] [{{ section('run-unit-test-userhosts-wrapper') }}]
<= userhosts-wrapper-base <= userhosts-wrapper-base
wrapped-command-line = ${runUnitTest:wrapper-path} wrapped-command-line = ${runUnitTest:wrapper-path}
......
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