Skip to content

Commit

Permalink
disabling dos attack tests
Browse files Browse the repository at this point in the history
  • Loading branch information
soneillf5 committed Dec 17, 2021
1 parent 3e6db80 commit 7b4f016
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion tests/suite/test_dos.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ def test_dos_sec_logs_on(
assert f'vs_name="{test_namespace}/dos-protected/name"' in log_contents
assert 'bad_actor' in log_contents

@pytest.mark.skip
def test_dos_under_attack_no_learning(
self, kube_apis, ingress_controller_prerequisites, crd_ingress_controller_with_dos, dos_setup, test_namespace
):
Expand Down Expand Up @@ -295,6 +296,7 @@ def test_dos_under_attack_no_learning(
and attack_ended
)

@pytest.mark.skip
def test_dos_under_attack_with_learning(
self, kube_apis, ingress_controller_prerequisites, crd_ingress_controller_with_dos, dos_setup, test_namespace
):
Expand Down Expand Up @@ -391,7 +393,7 @@ def test_dos_under_attack_with_learning(
and len(bad_ip) == 0
)

@pytest.mark.xfail
@pytest.mark.skip
def test_dos_arbitrator(
self, kube_apis, ingress_controller_prerequisites, crd_ingress_controller_with_dos, dos_setup,
test_namespace
Expand Down
4 changes: 3 additions & 1 deletion tests/suite/test_virtual_server_dos.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ def test_vs_with_dos_config(self, kube_apis, ingress_controller_prerequisites, c
for _ in conf_directives:
assert _ in result_conf

@pytest.mark.skip
def test_vs_dos_under_attack_no_learning(
self, kube_apis, ingress_controller_prerequisites, crd_ingress_controller_with_dos, virtual_server_setup_dos, dos_setup, test_namespace
):
Expand Down Expand Up @@ -297,6 +298,7 @@ def test_vs_dos_under_attack_no_learning(
and attack_ended
)

@pytest.mark.skip
def test_dos_under_attack_with_learning(
self, kube_apis, ingress_controller_prerequisites, crd_ingress_controller_with_dos, virtual_server_setup_dos, dos_setup, test_namespace
):
Expand Down Expand Up @@ -385,7 +387,7 @@ def test_dos_under_attack_with_learning(
and len(bad_ip) == 0
)

@pytest.mark.xfail
@pytest.mark.skip
def test_dos_arbitrator(
self, kube_apis, ingress_controller_prerequisites, crd_ingress_controller_with_dos,
virtual_server_setup_dos, dos_setup, test_namespace
Expand Down

0 comments on commit 7b4f016

Please sign in to comment.