Skip to content

Commit 81d41f7

Browse files
committed
Shortened the random resource name to 15 in total
1 parent 0fa08ad commit 81d41f7

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.azure-pipelines/util/live-test-steps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
targetType: filePath
8686
filePath: ./tools/TestFx/Live/InvokeLiveTestCITask.ps1
8787
arguments: -UseWindowsPowerShell ('${{ parameters.psVersion }}' -eq '5.1') -ScriptFile './tools/TestFx/Live/ConnectLiveTestServicePrincipal.ps1 $(LiveTestServicePrincipalSubscriptionId) $(LiveTestServicePrincipalTenantId) $(LiveTestServicePrincipalId) $(LiveTestServicePrincipalSecret)'
88-
failOnStderr: true
88+
failOnStderr: true
8989
retryCountOnTaskFailure: 3
9090

9191
- task: PowerShell@2
@@ -104,7 +104,7 @@ jobs:
104104
targetType: filePath
105105
filePath: ./tools/TestFx/Live/SaveLiveTestResult.ps1
106106
arguments: $(KustoServicePrincipalTenantId) $(KustoServicePrincipalId) $(KustoServicePrincipalSecret) $(KustoClusterName) $(KustoClusterRegion) $(LiveTestDatabaseName) $(LiveTestTableName) $(TestCoverageTableName) $(DataLocation)
107-
failOnStderr: true
107+
failOnStderr: true
108108
retryCountOnTaskFailure: 3
109109

110110
- task: PublishPipelineArtifact@1

tools/TestFx/Live/DebugLocalLiveTestScenarios.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function ImportLocalAzModules {
1414
Write-Host "Start to import Azure PowerShell modules from artifacts/Debug." -ForegroundColor Green
1515
Write-Host "If you see module import issue, please restart the PowerShell host." -ForegroundColor Magenta
1616

17-
Write-Host "Importing Az.Accounts." -ForegroundColor Green
17+
Write-Host "Importing Az.Accounts" -ForegroundColor Green
1818
Import-Module (Join-Path -Path $accountsModuleDirectory -ChildPath "Az.Accounts.psd1")
1919
Get-ChildItem -Path $debugDirectory -Directory -Exclude "Az.Accounts" | Get-ChildItem -File -Filter "*.psd1" | ForEach-Object {
2020
Write-Host "Importing $($_.FullName)" -ForegroundColor Green

tools/TestFx/Live/LiveTestUtility.psm1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ param (
3333
[string] $DataLocation
3434
)
3535

36-
New-Variable -Name ResourceGroupPrefix -Value "azpsliverg" -Scope Script -Option Constant
37-
New-Variable -Name ResourcePrefix -Value "azpslive" -Scope Script -Option Constant
38-
New-Variable -Name StorageAccountPrefix -Value "azpslivesa" -Scope Script -Option Constant
36+
New-Variable -Name ResourceGroupPrefix -Value "azpslrg" -Scope Script -Option Constant
37+
New-Variable -Name ResourcePrefix -Value "azpsl" -Scope Script -Option Constant
38+
New-Variable -Name StorageAccountPrefix -Value "azpslsa" -Scope Script -Option Constant
3939

4040
New-Variable -Name CommandMaxRetryCount -Value 3 -Scope Script -Option Constant
4141
New-Variable -Name CommandDelay -Value 10 -Scope Script -Option Constant

0 commit comments

Comments
 (0)