Skip to content

Commit

Permalink
Handle assembly already loaded errors in deploy stress test script
Browse files Browse the repository at this point in the history
  • Loading branch information
benbp authored and azure-sdk committed Sep 23, 2021
1 parent 10fe5f4 commit 8b60f76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eng/common/scripts/stress-testing/deploy-stress-tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ $ErrorActionPreference = 'Stop'
$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
Install-ModuleIfNotInstalled "powershell-yaml" "0.4.1" | Import-Module -ErrorAction Continue
Install-ModuleIfNotInstalled "az" "6.4.0" | Import-Module -ErrorAction Continue

# 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.
Expand Down

0 comments on commit 8b60f76

Please sign in to comment.