Skip to content

Commit 6f5d94e

Browse files
authored
[HTTP] Stress fix for docker compose
Backport of #119274 to release/10.0 /cc @ManickaP ## Customer Impact - [ ] Customer reported - [x] Found internally Wind down docker compose between individual runs in HTTP stress. ## Regression - [x] Yes - [ ] No Infra update. ## Testing CI stress runs. ## Risk Low. Test only change.
1 parent 5a23850 commit 6f5d94e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

eng/pipelines/libraries/stress/http.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ extends:
163163
New-Item -Force $env:SERVER_DUMPS_SHARE -ItemType Directory
164164
$env:HTTPSTRESS_CLIENT_ARGS = "$env:HTTPSTRESS_CLIENT_ARGS -http 2.0"
165165
$env:HTTPSTRESS_SERVER_ARGS = "$env:HTTPSTRESS_SERVER_ARGS -http 2.0"
166+
& $env:DOCKER_COMPOSE_CMD down
166167
& $env:DOCKER_COMPOSE_CMD up --abort-on-container-exit --no-color
167168
displayName: Run HttpStress - HTTP 2.0
168169
condition: and(eq(variables['buildRuntime.succeeded'], 'true'), eq(variables['buildStress.succeeded'], 'true'))
@@ -175,6 +176,7 @@ extends:
175176
New-Item -Force $env:SERVER_DUMPS_SHARE -ItemType Directory
176177
$env:HTTPSTRESS_CLIENT_ARGS = "$env:HTTPSTRESS_CLIENT_ARGS -http 1.1"
177178
$env:HTTPSTRESS_SERVER_ARGS = "$env:HTTPSTRESS_SERVER_ARGS -http 1.1"
179+
& $env:DOCKER_COMPOSE_CMD down
178180
& $env:DOCKER_COMPOSE_CMD up --abort-on-container-exit --no-color
179181
displayName: Run HttpStress - HTTP 1.1
180182
condition: and(eq(variables['buildRuntime.succeeded'], 'true'), eq(variables['buildStress.succeeded'], 'true'))

0 commit comments

Comments
 (0)