Commit 37bb32bc authored by Boxiang Sun's avatar Boxiang Sun

slapos-master: revert

parent a0ef755f
...@@ -18,7 +18,7 @@ md5sum = 2491969d49f8bf9b172e89b1c0e9d98e ...@@ -18,7 +18,7 @@ md5sum = 2491969d49f8bf9b172e89b1c0e9d98e
[template-balancer] [template-balancer]
filename = instance-balancer.cfg.in filename = instance-balancer.cfg.in
md5sum = d42b61b2d08305297cfc3550924767a4 md5sum = 50092d1dbaa97abf3c7940e8d47e998a
[template-apache-backend-conf] [template-apache-backend-conf]
filename = apache-backend.conf.in filename = apache-backend.conf.in
......
...@@ -66,7 +66,7 @@ recipe = slapos.recipe.template:jinja2 ...@@ -66,7 +66,7 @@ recipe = slapos.recipe.template:jinja2
{% if test_runner_address_list -%} {% if test_runner_address_list -%}
{% set test_runner_backend_mapping = {} %} {% set test_runner_backend_mapping = {} %}
{% set test_runner_balancer_url_list = [] %} {% set test_runner_balancer_url_list = [] %}
{% set test_runner_external_port = ${tcp-port:port} %} {% set test_runner_external_port = next_port() %}
{% for i, (test_runner_internal_ip, test_runner_internal_port) in enumerate(test_runner_address_list) %} {% for i, (test_runner_internal_ip, test_runner_internal_port) in enumerate(test_runner_address_list) %}
{% do test_runner_backend_mapping.__setitem__( {% do test_runner_backend_mapping.__setitem__(
'unit_test_' ~ i, 'unit_test_' ~ i,
......
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