Commit 879c4e3a authored by Jérome Perrin's avatar Jérome Perrin

erp5: promise to wait for apache testrunner URL to be returned

Otherwise instanciation can finish too early.
parent d17377ca
......@@ -74,7 +74,7 @@ md5sum = d41d8cd98f00b204e9800998ecf8427e
[template-erp5]
filename = instance-erp5.cfg.in
md5sum = b326c11f013b459c3d1b49c5f1c68e8b
md5sum = cb61073c6696f286f5da8a355ebc4335
[template-zeo]
filename = instance-zeo.cfg.in
......@@ -82,7 +82,7 @@ md5sum = 3e650915959ff31c9c13c84069bbcd35
[template-zope]
filename = instance-zope.cfg.in
md5sum = 61899bbe151ce7d86ff1c08d280c5689
md5sum = 5c5f193fb30837327bea361172c5dc96
[template-balancer]
filename = instance-balancer.cfg.in
......
......@@ -345,7 +345,7 @@ deadlock-debugger-password = {{ dumps(deadlock_debugger_password) }}
[default-balancer-test-runner-url-list]
recipe =
default = {{ dumps(["ERROR: not published yet"]) }}
default = not-ready
[gen-password]
recipe = slapos.cookbook:generate.password
......
......@@ -160,6 +160,15 @@ command-line-extra =
{% endfor -%}
--zserver_address_list '{{ ','.join(zserver_address_list) }}'
--zserver_frontend_url_list '{{ ','.join(slapparameter_dict['test-runner-apache-url-list']) }}'
[{{ section("promise-test-runner-apache-url") }}]
# promise to wait for apache partition to have returned the parameter
recipe = slapos.cookbook:check_parameter
value = {{ slapparameter_dict['test-runner-apache-url-list'] }}
expected-not-value = not-ready
path = ${directory:promises}/${:_buildout_section_name_}
expected-value =
{%- endif %}
{%- endif %}
......
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