Skip to content

Commit 4c301c7

Browse files
authored
[HTTP] Stress fix for docker compose (#119274)
* Wind down docker compose between individual runs in HTTP stress * Experiment 2
1 parent 7260c4a commit 4c301c7

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
@@ -72,6 +72,7 @@ extends:
7272
export STRESS_CLIENT_ARGS="$HTTPSTRESS_CLIENT_ARGS -http 2.0"
7373
export STRESS_SERVER_ARGS="$HTTPSTRESS_SERVER_ARGS -http 2.0"
7474
mkdir -p $DUMPS_SHARE
75+
docker-compose down
7576
docker-compose up --abort-on-container-exit --no-color
7677
displayName: Run HttpStress - HTTP 2.0
7778
condition: and(eq(variables['buildRuntime.succeeded'], 'true'), eq(variables['buildStress.succeeded'], 'true'))
@@ -81,6 +82,7 @@ extends:
8182
export STRESS_CLIENT_ARGS="$HTTPSTRESS_CLIENT_ARGS -http 1.1"
8283
export STRESS_SERVER_ARGS="$HTTPSTRESS_SERVER_ARGS -http 1.1"
8384
mkdir -p $DUMPS_SHARE
85+
docker-compose down
8486
docker-compose up --abort-on-container-exit --no-color
8587
displayName: Run HttpStress - HTTP 1.1
8688
condition: and(eq(variables['buildRuntime.succeeded'], 'true'), eq(variables['buildStress.succeeded'], 'true'))

0 commit comments

Comments
 (0)