Skip to content

Commit

Permalink
tests/fix-test-data (#1441)
Browse files Browse the repository at this point in the history
* enable vsr tests
  • Loading branch information
vepatel authored Mar 9, 2021
1 parent 8e7c5bb commit 8c5d003
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/suite/test_v_s_route_upstream_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
[({"type": "complete", "extra_args": [f"-enable-custom-resources"]},
{"example": "virtual-server-route-upstream-options"})],
indirect=True)
@pytest.mark.vsr
class TestVSRouteUpstreamOptions:
def test_nginx_config_upstreams_defaults(self, kube_apis, ingress_controller_prerequisites,
crd_ingress_controller, v_s_route_setup, v_s_route_app_setup):
Expand Down Expand Up @@ -67,7 +68,7 @@ def test_nginx_config_upstreams_defaults(self, kube_apis, ingress_controller_pre
"client_max_body_size 1048K;",
"proxy_buffering on;", "proxy_buffer_size 2k;", "proxy_buffers 4 2k;"]),
({"lb-method": "ip_hash", "connect-timeout": "75", "read-timeout": "15", "send-timeout": "1h"},
["ip_hash;", "proxy_connect_timeout 75;", "proxy_read_timeout 15;", "proxy_send_timeout 1h;"]),
["ip_hash;", "proxy_connect_timeout 75s;", "proxy_read_timeout 15s;", "proxy_send_timeout 1h;"]),
({"connect-timeout": "1m", "read-timeout": "1m", "send-timeout": "1s"},
["proxy_connect_timeout 1m;", "proxy_read_timeout 1m;", "proxy_send_timeout 1s;"]),
({"next-upstream": "error timeout non_idempotent", "next-upstream-timeout": "5s", "next-upstream-tries": 10},
Expand Down

0 comments on commit 8c5d003

Please sign in to comment.