Skip to content

Commit 169ffc9

Browse files
committed
fix failing test
1 parent 63ab118 commit 169ffc9

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

tests/suite/test_v_s_route_canned_responses.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ def test_default_canned_response(self, kube_apis, crd_ingress_controller, v_s_ro
8585
resp_content = resp.content.decode("utf-8")
8686
assert resp.headers["content-type"] == "text/plain" and resp_content == "line1\nline2\nline3\n"
8787

88+
@pytest.mark.flaky(max_runs=3)
8889
def test_update(self, kube_apis, crd_ingress_controller, v_s_route_setup):
8990
req_host = f"{v_s_route_setup.public_endpoint.public_ip}:{v_s_route_setup.public_endpoint.port}"
9091
req_url_1 = f"http://{req_host}{v_s_route_setup.route_m.paths[0]}"

tests/suite/test_virtual_server_canned_responses.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ def test_default_canned_response(self, kube_apis, crd_ingress_controller, virtua
8585
and resp.headers["coffee-test-header"] == "espresso"
8686
)
8787

88+
@pytest.mark.flaky(max_runs=3)
8889
def test_update(self, kube_apis, crd_ingress_controller, virtual_server_setup):
8990
wait_before_test(1)
9091
text = f"{virtual_server_setup.namespace}/{virtual_server_setup.vs_name}"

0 commit comments

Comments
 (0)