Skip to content

Commit 165593a

Browse files
authored
[Identity] Fix MI integration VM test (#42686)
Since we migrated azure-identity to be pyproject.toml based, we now need to make sure certain prerequisite depedencies are installed on the VM we run integration tests on. Signed-off-by: Paul Van Eck <[email protected]>
1 parent 57a71f0 commit 165593a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/identity/test-resources-post.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Write-Host "Applied kubeconfig.yaml"
121121
$vmScript = @"
122122
sudo apt update && sudo apt install python3-pip -y --no-install-recommends &&
123123
git clone https://github.com/Azure/azure-sdk-for-python.git --depth 1 --single-branch --branch main /sdk &&
124-
cd /sdk/sdk/identity/azure-identity/tests/integration/azure-vms &&
124+
cd /sdk/sdk/identity/azure-identity/tests/integration/azure-vms && pip install --upgrade pip setuptools wheel &&
125125
pip install -r requirements.txt
126126
"@
127127
az vm run-command invoke -n $DeploymentOutputs['IDENTITY_VM_NAME'] -g $DeploymentOutputs['IDENTITY_RESOURCE_GROUP'] --command-id RunShellScript --scripts "$vmScript"

0 commit comments

Comments
 (0)