Add tcp e2e test

This commit is contained in:
Manuel Alejandro de Brito Fontes 2018-11-16 17:33:56 -03:00
parent 168f30d1ec
commit 654eceda46
No known key found for this signature in database
GPG key ID: 786136016A8BA02A
4 changed files with 110 additions and 4 deletions

View file

@ -25,6 +25,10 @@ function _M.call()
return
end
if backends == nil or backends == "" then
return
end
local success, err_conf = tcp_udp_configuration_data:set("backends", backends)
if not success then
ngx.log(ngx.ERR, "dynamic-configuration: error updating configuration: " .. tostring(err_conf))