Skip to content

Commit 3858a56

Browse files
azure-sdkscbedd
andauthored
Sync eng/common directory with azure-sdk-tools for PR 2333 (Azure#21852)
* updating target testproxy output path Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
1 parent 5a3fabf commit 3858a56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

eng/common/testproxy/docker-start-proxy.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ catch {
3131
Write-Error "Please check your docker invocation and try running the script again."
3232
}
3333

34-
$SELECTED_IMAGE_TAG = "1203416"
34+
$SELECTED_IMAGE_TAG = "1209124"
3535
$CONTAINER_NAME = "ambitious_azsdk_test_proxy"
3636
$LINUX_IMAGE_SOURCE = "azsdkengsys.azurecr.io/engsys/testproxy-lin:${SELECTED_IMAGE_TAG}"
3737
$WINDOWS_IMAGE_SOURCE = "azsdkengsys.azurecr.io/engsys/testproxy-win:${SELECTED_IMAGE_TAG}"
@@ -77,9 +77,9 @@ if ($Mode -eq "start"){
7777
else {
7878
$attempts = 0
7979
Write-Host "Attempting creation of Docker host $CONTAINER_NAME"
80-
Write-Host "docker container create -v `"${root}:${Initial}/etc/testproxy`" $LinuxContainerArgs -p 5001:5001 -p 5000:5000 --name $CONTAINER_NAME $SelectedImage"
80+
Write-Host "docker container create -v `"${root}:${Initial}/srv/testproxy`" $LinuxContainerArgs -p 5001:5001 -p 5000:5000 --name $CONTAINER_NAME $SelectedImage"
8181
while($attempts -lt 3){
82-
docker container create -v "${root}:${Initial}/etc/testproxy" $LinuxContainerArgs -p 5001:5001 -p 5000:5000 --name $CONTAINER_NAME $SelectedImage
82+
docker container create -v "${root}:${Initial}/srv/testproxy" $LinuxContainerArgs -p 5001:5001 -p 5000:5000 --name $CONTAINER_NAME $SelectedImage
8383

8484
if($LASTEXITCODE -ne 0){
8585
$attempts += 1

0 commit comments

Comments
 (0)