Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change timeout for attack ended #3072

Merged
merged 2 commits into from
Sep 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/suite/test_dos.py
Expand Up @@ -303,13 +303,13 @@ def test_dos_under_attack_with_learning(
print("Stop Attack")
p_attack.terminate()

print("wait max 140 seconds after attack stop, to get attack ended")
print("wait max 200 seconds after attack stop, to get attack ended")
find_in_log(
kube_apis,
log_loc,
syslog_pod,
ingress_controller_prerequisites.namespace,
140,
200,
'attack_event="Attack ended"',
)

Expand Down
8 changes: 4 additions & 4 deletions tests/suite/test_virtual_server_dos.py
Expand Up @@ -316,13 +316,13 @@ def test_vs_dos_under_attack_no_learning(
print("Stop Attack")
p_attack.terminate()

print("wait max 140 seconds after attack stop, to get attack ended")
print("wait max 200 seconds after attack stop, to get attack ended")
find_in_log(
kube_apis,
log_loc,
syslog_pod,
ingress_controller_prerequisites.namespace,
140,
200,
'attack_event="Attack ended"',
)

Expand Down Expand Up @@ -413,13 +413,13 @@ def test_dos_under_attack_with_learning(
print("Stop Attack")
p_attack.terminate()

print("wait max 140 seconds after attack stop, to get attack ended")
print("wait max 200 seconds after attack stop, to get attack ended")
find_in_log(
kube_apis,
log_loc,
syslog_pod,
ingress_controller_prerequisites.namespace,
140,
200,
'attack_event="Attack ended"',
)

Expand Down