test: s/southcentralus/uksouth (#1949)
This commit is contained in:
Родитель
ab73d886c8
Коммит
6a04853807
|
@ -296,7 +296,7 @@ func (c *Config) IsKubernetes() bool {
|
|||
func (c *Config) SetRandomRegion() {
|
||||
var regions []string
|
||||
if c.Regions == nil || len(c.Regions) == 0 {
|
||||
regions = []string{"eastus", "southcentralus", "southeastasia", "westus2", "westeurope"}
|
||||
regions = []string{"eastus", "uksouth", "southeastasia", "westus2", "westeurope"}
|
||||
} else {
|
||||
regions = c.Regions
|
||||
}
|
||||
|
|
|
@ -28,13 +28,13 @@ func TestSetRandomRegion(t *testing.T) {
|
|||
config: Config{
|
||||
Regions: []string{},
|
||||
},
|
||||
expected: []string{"eastus", "southcentralus", "southeastasia", "westus2", "westeurope"},
|
||||
expected: []string{"eastus", "uksouth", "southeastasia", "westus2", "westeurope"},
|
||||
},
|
||||
{
|
||||
config: Config{
|
||||
Regions: nil,
|
||||
},
|
||||
expected: []string{"eastus", "southcentralus", "southeastasia", "westus2", "westeurope"},
|
||||
expected: []string{"eastus", "uksouth", "southeastasia", "westus2", "westeurope"},
|
||||
},
|
||||
{
|
||||
config: Config{
|
||||
|
|
Загрузка…
Ссылка в новой задаче