diff --git a/eng/common/scripts/stress-testing/stress-test-deployment-lib.ps1 b/eng/common/scripts/stress-testing/stress-test-deployment-lib.ps1 index da3bb3fd5d5c..2e1bf5747790 100644 --- a/eng/common/scripts/stress-testing/stress-test-deployment-lib.ps1 +++ b/eng/common/scripts/stress-testing/stress-test-deployment-lib.ps1 @@ -86,12 +86,6 @@ function DeployStressTests( $subscription = 'Azure SDK Test Resources' } - if (!$repository) { - $repository = if ($env:USER) { $env:USER } else { "${env:USERNAME}" } - # Remove spaces, etc. that may be in $namespace - $repository -replace '\W' - } - if ($login) { if (!$clusterGroup -or !$subscription) { throw "clusterGroup and subscription parameters must be specified when logging into an environment that is not test or prod."