Skip to content

Commit

Permalink
Change timeout for attack ended (#3072)
Browse files Browse the repository at this point in the history
  • Loading branch information
pasmant committed Sep 21, 2022
1 parent a00e4e9 commit 9316df6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tests/suite/test_dos.py
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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

0 comments on commit 9316df6

Please sign in to comment.