Skip to content

Commit 53945c8

Browse files
committed
Add a sleep after service delete to allow NEGs get garbage collected.
1 parent 2467486 commit 53945c8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

clusterloader2/testing/neg/config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
{{$smallBackendLbServiceCount := DefaultParam .CL2_SMALL_BACKEND_LB_SERVICE_COUNT 5}}
33
{{$mediumBackendLbServiceCount := DefaultParam .CL2_MEDIUM_BACKEND_LB_SERVICE_COUNT 3}}
44
{{$largeBackendLbServiceCount := DefaultParam .CL2_LARGE_BACKEND_LB_SERVICE_COUNT 1}}
5+
{{$waitAfterDeletion := DefaultParam .CL2_WAIT_AFTER_DELETION “15m”}}
56

67
# Test
78
name: neg-latency
@@ -118,3 +119,9 @@ steps:
118119
Method: WaitForControlledPodsRunning
119120
Params:
120121
action: gather
122+
- name: Wait after deletion
123+
measurements:
124+
- Identifier: Wait
125+
Method: Sleep
126+
Params:
127+
duration: {{$waitAfterDeletion}}

0 commit comments

Comments
 (0)