Skip to content

Commit

Permalink
Add retries to more tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ciarams87 committed Jan 13, 2022
1 parent 0e9556a commit cf46ca6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/suite/test_virtual_server_grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ def test_validation_flow(self, kube_apis, ingress_controller_prerequisites,
self.patch_valid_vs(kube_apis, virtual_server_setup)
wait_before_test()

@pytest.mark.flaky(max_runs=3)
@pytest.mark.parametrize("backend_setup", [{"app_type": "grpc-vs"}], indirect=True)
def test_connect_grpc_backend(self, kube_apis, ingress_controller_prerequisites, crd_ingress_controller,
backend_setup, virtual_server_setup) -> None:
Expand Down
1 change: 1 addition & 0 deletions tests/suite/test_virtual_server_mixed_grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def fin():

@pytest.mark.vs
@pytest.mark.smoke
@pytest.mark.flaky(max_runs=3)
@pytest.mark.parametrize('crd_ingress_controller, virtual_server_setup',
[({"type": "complete", "extra_args": [f"-enable-custom-resources"]},
{"example": "virtual-server-grpc-mixed"})],
Expand Down
1 change: 1 addition & 0 deletions tests/suite/test_virtual_server_upstream_tls.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from suite.resources_utils import get_first_pod_name, wait_before_test, get_events


@pytest.mark.flaky(max_runs=3)
@pytest.mark.vs
@pytest.mark.parametrize('crd_ingress_controller, virtual_server_setup',
[({"type": "complete", "extra_args": [f"-enable-custom-resources"]},
Expand Down

0 comments on commit cf46ca6

Please sign in to comment.