Skip to content

Commit 981a610

Browse files
authored
[release/9.0-staging][HTTP] Stress fix for docker compose (#119455)
* [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. * Remove unnecessary docker-compose down commands Removed 'docker-compose down' command from HTTP 1.1 and 2.0 stress test configurations.
1 parent 89f3ed1 commit 981a610

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
@@ -73,6 +73,7 @@ extends:
7373
export SERVER_DUMPS_SHARE="$(Build.ArtifactStagingDirectory)/dumps/server/2.0"
7474
export HTTPSTRESS_CLIENT_ARGS="$HTTPSTRESS_CLIENT_ARGS -http 2.0"
7575
export HTTPSTRESS_SERVER_ARGS="$HTTPSTRESS_SERVER_ARGS -http 2.0"
76+
docker-compose down
7677
docker-compose up --abort-on-container-exit --no-color
7778
displayName: Run HttpStress - HTTP 2.0
7879
condition: and(eq(variables['buildRuntime.succeeded'], 'true'), eq(variables['buildStress.succeeded'], 'true'))
@@ -83,6 +84,7 @@ extends:
8384
export SERVER_DUMPS_SHARE="$(Build.ArtifactStagingDirectory)/dumps/server/1.1"
8485
export HTTPSTRESS_CLIENT_ARGS="$HTTPSTRESS_CLIENT_ARGS -http 1.1"
8586
export HTTPSTRESS_SERVER_ARGS="$HTTPSTRESS_SERVER_ARGS -http 1.1"
87+
docker-compose down
8688
docker-compose up --abort-on-container-exit --no-color
8789
displayName: Run HttpStress - HTTP 1.1
8890
condition: and(eq(variables['buildRuntime.succeeded'], 'true'), eq(variables['buildStress.succeeded'], 'true'))

0 commit comments

Comments
 (0)