Skip to content

Commit

Permalink
Add random elements to default base name
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshLove-msft authored and azure-sdk committed Aug 30, 2021
1 parent 0320ace commit fd36eb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eng/common/TestResources/New-TestResources.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ try {
$BaseName = 't' + (New-Guid).ToString('n').Substring(0, 16)
Log "Generated base name '$BaseName' for CI build"
} elseif (!$BaseName) {
$BaseName = "$UserName$ServiceDirectory"
$BaseName = "$UserName$ServiceDirectory" + (New-Guid).ToString('n').Substring(0, 4)
Log "BaseName was not set. Using default base name '$BaseName'"
}

Expand Down

0 comments on commit fd36eb0

Please sign in to comment.