Skip to content

Commit

Permalink
Merge pull request #2981 from sawsa307/add-sleep-after-delete
Browse files Browse the repository at this point in the history
Add a sleep after service delete to allow NEGs get garbage collected.
  • Loading branch information
k8s-ci-robot authored Jan 9, 2025
2 parents cb42fed + 53945c8 commit 6ec6333
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions clusterloader2/testing/neg/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{{$smallBackendLbServiceCount := DefaultParam .CL2_SMALL_BACKEND_LB_SERVICE_COUNT 5}}
{{$mediumBackendLbServiceCount := DefaultParam .CL2_MEDIUM_BACKEND_LB_SERVICE_COUNT 3}}
{{$largeBackendLbServiceCount := DefaultParam .CL2_LARGE_BACKEND_LB_SERVICE_COUNT 1}}
{{$waitAfterDeletion := DefaultParam .CL2_WAIT_AFTER_DELETION “15m”}}

# Test
name: neg-latency
Expand Down Expand Up @@ -118,3 +119,9 @@ steps:
Method: WaitForControlledPodsRunning
Params:
action: gather
- name: Wait after deletion
measurements:
- Identifier: Wait
Method: Sleep
Params:
duration: {{$waitAfterDeletion}}

0 comments on commit 6ec6333

Please sign in to comment.