Skip to content

Commit f2d91c8

Browse files
committed
Specify another arc onboarding location to meet all test region requirements
1 parent 5bc4079 commit f2d91c8

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

testing/test/configurations/BundleFeatureFlag.Tests.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ Describe 'Setting Bundle Feature Flag Scenario' {
55

66
It 'Enable the bundle feature flag when connecting the cluster to Arc' {
77
$output = & {
8-
az connectedk8s connect -n $ENVCONFIG.arcClusterName -g $ENVCONFIG.resourceGroup -l $ARC_LOCATION `
8+
az connectedk8s connect -n $ENVCONFIG.arcClusterName -g $ENVCONFIG.resourceGroup -l $BUNDLE_FEATURE_FLAG_ARC_LOCATION `
99
--disable-auto-upgrade --config extensionSets.versionManagedExtensions='off' 2>&1 | Out-String
1010
}
1111
$output | Should -Match "Not supported value for the feature flag"
1212

1313
$output = & {
14-
az connectedk8s connect -n $ENVCONFIG.arcClusterName -g $ENVCONFIG.resourceGroup -l $ARC_LOCATION `
14+
az connectedk8s connect -n $ENVCONFIG.arcClusterName -g $ENVCONFIG.resourceGroup -l $BUNDLE_FEATURE_FLAG_ARC_LOCATION `
1515
--disable-auto-upgrade --config extensionSets.versionManagedExtensions='disabled' 2>&1 | Out-String
1616
}
1717
$output | Should -Match "'disabled' mode can only be set using 'az connectedk8s update'"
1818

19-
az connectedk8s connect -n $ENVCONFIG.arcClusterName -g $ENVCONFIG.resourceGroup -l $ARC_LOCATION `
19+
az connectedk8s connect -n $ENVCONFIG.arcClusterName -g $ENVCONFIG.resourceGroup -l $BUNDLE_FEATURE_FLAG_ARC_LOCATION `
2020
--disable-auto-upgrade --config extensionSets.versionManagedExtensions='preview' --no-wait --yes
2121
$? | Should -BeTrue
2222
Start-Sleep -Seconds 10
@@ -49,7 +49,7 @@ Describe 'Setting Bundle Feature Flag Scenario' {
4949
$? | Should -BeTrue
5050
Start-Sleep -Seconds 10
5151

52-
az connectedk8s connect -n $ENVCONFIG.arcClusterName -g $ENVCONFIG.resourceGroup -l $ARC_LOCATION `
52+
az connectedk8s connect -n $ENVCONFIG.arcClusterName -g $ENVCONFIG.resourceGroup -l $BUNDLE_FEATURE_FLAG_ARC_LOCATION `
5353
--disable-auto-upgrade --config extensionSets.versionManagedExtensions='enabled' --no-wait
5454
$? | Should -BeTrue
5555
Start-Sleep -Seconds 10

testing/test/helper/Constants.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ $ENVCONFIG = Get-Content -Path $PSScriptRoot/../../settings.json | ConvertFrom-J
22

33
$MAX_RETRY_ATTEMPTS = 30
44
$ARC_LOCATION = "uksouth"
5+
$BUNDLE_FEATURE_FLAG_ARC_LOCATION = "eastus2euap"
56
$SUCCEEDED = "Succeeded"

0 commit comments

Comments
 (0)