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() {
|
func (c *Config) SetRandomRegion() {
|
||||||
var regions []string
|
var regions []string
|
||||||
if c.Regions == nil || len(c.Regions) == 0 {
|
if c.Regions == nil || len(c.Regions) == 0 {
|
||||||
regions = []string{"eastus", "southcentralus", "southeastasia", "westus2", "westeurope"}
|
regions = []string{"eastus", "uksouth", "southeastasia", "westus2", "westeurope"}
|
||||||
} else {
|
} else {
|
||||||
regions = c.Regions
|
regions = c.Regions
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,13 +28,13 @@ func TestSetRandomRegion(t *testing.T) {
|
||||||
config: Config{
|
config: Config{
|
||||||
Regions: []string{},
|
Regions: []string{},
|
||||||
},
|
},
|
||||||
expected: []string{"eastus", "southcentralus", "southeastasia", "westus2", "westeurope"},
|
expected: []string{"eastus", "uksouth", "southeastasia", "westus2", "westeurope"},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
config: Config{
|
config: Config{
|
||||||
Regions: nil,
|
Regions: nil,
|
||||||
},
|
},
|
||||||
expected: []string{"eastus", "southcentralus", "southeastasia", "westus2", "westeurope"},
|
expected: []string{"eastus", "uksouth", "southeastasia", "westus2", "westeurope"},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
config: Config{
|
config: Config{
|
||||||
|
|
Загрузка…
Ссылка в новой задаче