Tell GetControllerSyncStatus to not spit out warnings 85/37985/1
authorJozef Behran <jbehran@cisco.com>
Thu, 21 Apr 2016 16:48:16 +0000 (18:48 +0200)
committerJozef Behran <jbehran@cisco.com>
Thu, 21 Apr 2016 16:50:09 +0000 (18:50 +0200)
The GetControllerSyncStatus keyword generates a lot of noise
warnings when used on a controller that is down. Tell it to
stop that behavior.

Change-Id: I950fa148cad9f88a5cb46841087eb7db356ccc9f
Signed-off-by: Jozef Behran <jbehran@cisco.com>
csit/libraries/ClusterKeywords.robot

index 1f8ab31c540be6c408b64642960c9038a6556c76..e7c62e0646ab76dbb2a8efa23febcc78127fd0e5 100644 (file)
@@ -255,7 +255,7 @@ Controller Sync Status Should Be False
 Get Controller Sync Status
     [Arguments]    ${controller_ip}
     [Documentation]    Return Sync Status.
-    Create_Session    session    http://${controller_ip}:${RESTCONFPORT}    headers=${HEADERS}    auth=${AUTH}
+    Create_Session    session    http://${controller_ip}:${RESTCONFPORT}    headers=${HEADERS}    auth=${AUTH}    max_retries=0
     ${data}=    Get Data From URI    session    ${jolokia_conf}
     Log    ${data}
     ${json}=    To Json    ${data}