Skip to content

Commit

Permalink
Add sleep after deleting LBs in l4lb test
Browse files Browse the repository at this point in the history
  • Loading branch information
panslava committed Jul 26, 2022
1 parent 6c36f0e commit 29144d2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions clusterloader2/testing/l4lb/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
{{$NODE_SYNC_TIMEOUT := DefaultParam .CL2_NODE_SYNC_TIMEOUT "30m"}}
# L4LB_SYNC_TIMEOUT specifies the timeout to wait for LB creation to complete
{{$L4LB_SYNC_TIMEOUT := DefaultParam .CL2_L4LB_SYNC_TIMEOUT "30m"}}
# AFTER_DELETION_SLEEP_TIMEOUT specifies the timeout to sleep after marking resources for deletion
# Set default to 0, cause only ILB tests need this wait
{{$AFTER_DELETION_SLEEP_TIMEOUT := DefaultParam .CL2_AFTER_DELETION_SLEEP_TIMEOUT "0m"}}

# adding a fixed value for first version of the test, rate of pod creation not a concern yet.
{{$lbQPS := 20}}
Expand Down Expand Up @@ -87,6 +90,12 @@ steps:
objectTemplatePath: service.yaml
- basename: lb-dep
objectTemplatePath: dep.yaml
- name: Sleep
measurements:
- Identifier: sleep
Method: Sleep
Params:
duration: {{$AFTER_DELETION_SLEEP_TIMEOUT}}
- name: Gather Measurements
measurements:
- Identifier: LBServiceCreationLatency
Expand Down

0 comments on commit 29144d2

Please sign in to comment.