aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/tests/holmes/testcase
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-11-13 17:15:55 +0000
committerGerrit Code Review <gerrit@onap.org>2017-11-13 17:15:55 +0000
commit0924bcbebd6311247793f2c6aaedc51e7319f030 (patch)
treec2b686038c701fcd5784bb813d3bee0461300ed1 /test/csit/tests/holmes/testcase
parent39a2f2f7910a0d86163ad23fe91c2a11e98ece07 (diff)
parente9bb3070759a5f2911e0579be8f473c0d223c932 (diff)
Merge "Fix the Contents of the Rules"
Diffstat (limited to 'test/csit/tests/holmes/testcase')
-rw-r--r--test/csit/tests/holmes/testcase/EngineMgt/Engine-Mgt.robot2
-rw-r--r--test/csit/tests/holmes/testcase/RuleMgt/Rule-Mgt.robot2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/csit/tests/holmes/testcase/EngineMgt/Engine-Mgt.robot b/test/csit/tests/holmes/testcase/EngineMgt/Engine-Mgt.robot
index b84dff285..0c06cbb97 100644
--- a/test/csit/tests/holmes/testcase/EngineMgt/Engine-Mgt.robot
+++ b/test/csit/tests/holmes/testcase/EngineMgt/Engine-Mgt.robot
@@ -28,7 +28,7 @@ deploy_invalid_rule
deploy_valid_rule
[Documentation] Add a rule with valid contents to the engine.
- ${dic4} create dictionary content=package rule03080002 engineid="" loopcontrolname=test
+ ${dic4} create dictionary content=package rule03080002;\n\nimport java.util.Locale; engineid="" loopcontrolname=test
${Jsonparam} encode ${dic4}
${response} deployEngineRule ${Jsonparam}
diff --git a/test/csit/tests/holmes/testcase/RuleMgt/Rule-Mgt.robot b/test/csit/tests/holmes/testcase/RuleMgt/Rule-Mgt.robot
index bccb0f72d..ac25cbfad 100644
--- a/test/csit/tests/holmes/testcase/RuleMgt/Rule-Mgt.robot
+++ b/test/csit/tests/holmes/testcase/RuleMgt/Rule-Mgt.robot
@@ -8,7 +8,7 @@ Resource Rule-Keywords.robot
*** Test Cases ***
add_valid_rule
[Documentation] Add a valid rule.
- ${dict2} create dictionary rulename=youbowu0314 description=create a new rule! content=package rule03140002 enabled=1 loopcontrolname=closedControlLoop
+ ${dict2} create dictionary rulename=youbowu0314 description=create a new rule! content=package rule03140002;\n\nimport java.util.Locale; enabled=1 loopcontrolname=closedControlLoop
${jsonParams} encode ${dict2}
${response} createRule ${jsonParams}
${respJson} to json ${response.content}