X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Fsuites%2Fcontroller%2Fdom_data_broker%2Frestart_odl_with_tell_based_true.robot;h=994605543214203cc4fd73bbc9449d64eca1a5aa;hb=refs%2Fchanges%2F35%2F102335%2F8;hp=90ce3bf37bf2fc8e4ce22bebe3d8786f7770e86f;hpb=3ed49a65c55b647a797c2af10d676e8f79b292ce;p=integration%2Ftest.git diff --git a/csit/suites/controller/dom_data_broker/restart_odl_with_tell_based_true.robot b/csit/suites/controller/dom_data_broker/restart_odl_with_tell_based_true.robot index 90ce3bf37b..9946055432 100644 --- a/csit/suites/controller/dom_data_broker/restart_odl_with_tell_based_true.robot +++ b/csit/suites/controller/dom_data_broker/restart_odl_with_tell_based_true.robot @@ -1,26 +1,31 @@ *** Settings *** -Documentation Set tell-based protocol usage +Documentation Set tell-based protocol usage ... -... Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved. +... Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved. ... -... This program and the accompanying materials are made available under the -... terms of the Eclipse Public License v1.0 which accompanies this distribution, -... and is available at http://www.eclipse.org/legal/epl-v10.html +... This program and the accompanying materials are made available under the +... terms of the Eclipse Public License v1.0 which accompanies this distribution, +... and is available at http://www.eclipse.org/legal/epl-v10.html ... -... Suite stops all odl nodes, un-comment usage of tell-based protocol in -... config file (means make it true) and starts all nodes again. -Suite Setup SetupUtils.Setup_Utils_For_Setup_And_Teardown http_timeout=125 -Suite Teardown SSHLibrary.Close_All_Connections -Default Tags critical -Library SSHLibrary -Resource ${CURDIR}/../../../libraries/ClusterManagement.robot -Resource ${CURDIR}/../../../libraries/ShardStability.robot -Resource ${CURDIR}/../../../libraries/SetupUtils.robot -Resource ${CURDIR}/../../../libraries/controller/DdbCommons.robot +... Suite stops all odl nodes, un-comment usage of tell-based protocol in +... config file (means make it true) and starts all nodes again. + +Library SSHLibrary +Resource ${CURDIR}/../../../libraries/ClusterManagement.robot +Resource ${CURDIR}/../../../libraries/ShardStability.robot +Resource ${CURDIR}/../../../libraries/SetupUtils.robot +Resource ${CURDIR}/../../../libraries/controller/DdbCommons.robot + +Suite Setup SetupUtils.Setup_Utils_For_Setup_And_Teardown http_timeout=125 +Suite Teardown SSHLibrary.Close_All_Connections + +Default Tags critical + *** Variables *** ${DATASTORE_CFG} /${WORKSPACE}/${BUNDLEFOLDER}/etc/org.opendaylight.controller.cluster.datastore.cfg + *** Test Cases *** Stop_All_Members [Documentation] Stop every odl node. @@ -35,5 +40,10 @@ Set_Tell_Based_Protocol_Usage Start_All_And_Sync [Documentation] Start each member and wait for sync. ClusterManagement.Start_Members_From_List_Or_All - BuiltIn.Wait_Until_Keyword_Succeeds 300s 10s ShardStability.Shards_Stability_Get_Details ${DEFAULT_SHARD_LIST} verify_restconf=True + BuiltIn.Wait_Until_Keyword_Succeeds + ... 300s + ... 10s + ... ShardStability.Shards_Stability_Get_Details + ... ${DEFAULT_SHARD_LIST} + ... verify_restconf=True ClusterManagement.Run_Bash_Command_On_List_Or_All ps -ef | grep java