*** Settings ***
-Documentation This test waits until cluster appears to be ready.
+Documentation This test waits until cluster appears to be ready.
...
-... 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
...
...
-... Intended use is at a start of testplan, so that suites can assume cluster works.
+... Intended use is at a start of testplan, so that suites can assume cluster works.
...
-... This suite expects car, people and car-people modules to have separate Shards.
-Suite Setup SetupUtils.Setup_Utils_For_Setup_And_Teardown
-Test Setup SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing
-Default Tags clustering carpeople critical
-Resource ${CURDIR}/../../../libraries/ClusterManagement.robot
-Resource ${CURDIR}/../../../libraries/SetupUtils.robot
+... This suite expects car, people and car-people modules to have separate Shards.
+
+Resource ${CURDIR}/../../../libraries/ClusterManagement.robot
+Resource ${CURDIR}/../../../libraries/SetupUtils.robot
+
+Suite Setup SetupUtils.Setup_Utils_For_Setup_And_Teardown
+Test Setup SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing
+
+Default Tags clustering carpeople critical
+
*** Variables ***
-${CLUSTER_BOOTUP_SYNC_TIMEOUT} 180s
-@{SHARD_NAME_LIST} car people car-people
+${CLUSTER_BOOTUP_SYNC_TIMEOUT} 180s
+@{SHARD_NAME_LIST} car people car-people
+
*** Test Cases ***
Wait_For_Sync_And_Shards
[Documentation] Repeatedly check for cluster sync status and Shard Leaders, fail when timeout is exceeded.
BuiltIn.Wait_Until_Keyword_Succeeds ${CLUSTER_BOOTUP_SYNC_TIMEOUT} 10s Check_Sync_And_Shards
+
*** Keywords ***
Check_Sync_And_Shards
ClusterManagement.Check_Cluster_Is_In_Sync