Remove unused parameter "aggregation_method"
for vm_workload_consolidation strategy Actually, this vm_workload_consolidation strategy just need the period parameter according to the docs in https://docs.open stack.org/watcher/latest/strategies/vm_workload_consolidation.html Change-Id: Ic84e549f290f24d7ca310d2a19d54e9a91be89bf
This commit is contained in:
parent
289c3caa64
commit
6479f36d49
|
@ -57,9 +57,9 @@ class TestExecuteVmWorkloadBalanceStrategy(base.BaseInfraOptimScenarioTest):
|
|||
"skipping multinode tests.")
|
||||
|
||||
def test_execute_vm_workload_consolidation_action_plan(self):
|
||||
"""Execute an action plan based on the BASIC strategy
|
||||
"""Execute an action plan based on the vm_workload_consolidation strategy
|
||||
|
||||
- create an audit template with the basic strategy
|
||||
- create an audit template with the vm_workload_consolidation strategy
|
||||
- run the audit to create an action plan
|
||||
- get the action plan
|
||||
- run the action plan
|
||||
|
@ -85,9 +85,7 @@ class TestExecuteVmWorkloadBalanceStrategy(base.BaseInfraOptimScenarioTest):
|
|||
_, audit = self.create_audit(
|
||||
audit_template['uuid'],
|
||||
parameters={
|
||||
"granularity": 1,
|
||||
"period": 72000,
|
||||
"aggregation_method": {"instance": "last", "node": "last"}
|
||||
"period": 72000
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue