File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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"
You can’t perform that action at this time.
0 commit comments