File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
eng/common/scripts/stress-testing Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ function ParseChart([string]$chartFile) {
7575
7676function MatchesAnnotations ([hashtable ]$chart , [hashtable ]$filters ) {
7777 foreach ($filter in $filters.GetEnumerator ()) {
78- if (! $chart [" annotations" ] -or $chart [" annotations" ][$filter.Key ] -ne $filter.Value ) {
78+ if (! $chart [" annotations" ] -or $chart [" annotations" ][$filter.Key ] -notmatch $filter.Value ) {
7979 return $false
8080 }
8181 }
Original file line number Diff line number Diff line change @@ -122,6 +122,12 @@ function DeployStressTests(
122122 }
123123 $clusterGroup = ' rg-stress-cluster-prod'
124124 $subscription = ' Azure SDK Test Resources'
125+ } elseif ($environment -eq ' storage' ) {
126+ if ($clusterGroup -or $subscription ) {
127+ Write-Warning " Overriding cluster group and subscription with defaults for 'storage' environment."
128+ }
129+ $clusterGroup = ' rg-stress-cluster-storage'
130+ $subscription = ' XClient'
125131 } elseif (! $clusterGroup -or ! $subscription ) {
126132 throw " clusterGroup and subscription parameters must be specified when deploying to an environment that is not pg or prod."
127133 }
You can’t perform that action at this time.
0 commit comments