From 947b7cb46d7b3e6726dd8d829269b0ac4494ce7c Mon Sep 17 00:00:00 2001 From: Ben Broderick Phillips Date: Wed, 8 Sep 2021 17:41:55 -0400 Subject: [PATCH] Install az module if not installed in deploy-stress-tests.ps1 --- eng/common/scripts/stress-testing/deploy-stress-tests.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/eng/common/scripts/stress-testing/deploy-stress-tests.ps1 b/eng/common/scripts/stress-testing/deploy-stress-tests.ps1 index a95ce62ff02b..80c6471a1199 100644 --- a/eng/common/scripts/stress-testing/deploy-stress-tests.ps1 +++ b/eng/common/scripts/stress-testing/deploy-stress-tests.ps1 @@ -22,6 +22,7 @@ $FailedCommands = New-Object Collections.Generic.List[hashtable] . (Join-Path $PSScriptRoot "../Helpers" PSModule-Helpers.ps1) Install-ModuleIfNotInstalled "powershell-yaml" "0.4.1" | Import-Module +Install-ModuleIfNotInstalled "az" "6.4.0" | Import-Module # Powershell does not (at time of writing) treat exit codes from external binaries # as cause for stopping execution, so do this via a wrapper function.