Fix error in tests
This commit is contained in:
parent
93817dbc14
commit
6bc59c602a
|
@ -54,7 +54,8 @@ def test_autoscaler(plan_runner):
|
||||||
'metric=null'
|
'metric=null'
|
||||||
'}'
|
'}'
|
||||||
)
|
)
|
||||||
_, resources = plan_runner(FIXTURES_DIR, autoscaler_config=autoscaler_config)
|
_, resources = plan_runner(
|
||||||
|
FIXTURES_DIR, autoscaler_config=autoscaler_config)
|
||||||
assert len(resources) == 2
|
assert len(resources) == 2
|
||||||
autoscaler = resources[0]
|
autoscaler = resources[0]
|
||||||
assert autoscaler['type'] == 'google_compute_autoscaler'
|
assert autoscaler['type'] == 'google_compute_autoscaler'
|
||||||
|
@ -64,7 +65,8 @@ def test_autoscaler(plan_runner):
|
||||||
'load_balancing_utilization': [],
|
'load_balancing_utilization': [],
|
||||||
'max_replicas': 3,
|
'max_replicas': 3,
|
||||||
'metric': [],
|
'metric': [],
|
||||||
'min_replicas': 1
|
'min_replicas': 1,
|
||||||
|
'mode': 'ON'
|
||||||
}]
|
}]
|
||||||
_, resources = plan_runner(
|
_, resources = plan_runner(
|
||||||
FIXTURES_DIR, autoscaler_config=autoscaler_config, regional='true')
|
FIXTURES_DIR, autoscaler_config=autoscaler_config, regional='true')
|
||||||
|
|
Loading…
Reference in New Issue