Gaurav Aradhye created CLOUDSTACK-8278:
------------------------------------------
Summary: Usage test path - Correct code flow in case the usage job
timing is not to be set through test case
Key: CLOUDSTACK-8278
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8278
Project: CloudStack
Issue Type: Test
Security Level: Public (Anyone can view this level - this is the default.)
Components: Automation
Affects Versions: 4.5.0
Reporter: Gaurav Aradhye
Assignee: Gaurav Aradhye
Fix For: 4.5.0
The flag "setUsageConfigurationThroughTestCase" dictates whether we should set
the usage related config from test case itself (And restart the management
server and usage server in the process) or not.
When the flag is False (When we don't want to disrupt other test cases and/or
usage server/job is already configured), then it should be ensured that the
code is broken anywhere. Set the current date to cls.curDate variable in this
case to avoid code break.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)