Add remote session to etcd HA testcases
[validation.git] / tests / k8s / etcd_ha / etcd_ha.robot
1 ##############################################################################
2 # Copyright (c) 2019 AT&T Intellectual Property.                             #
3 # Copyright (c) 2019 Nokia.                                                  #
4 #                                                                            #
5 # Licensed under the Apache License, Version 2.0 (the "License");            #
6 # you maynot use this file except in compliance with the License.            #
7 #                                                                            #
8 # You may obtain a copy of the License at                                    #
9 #       http://www.apache.org/licenses/LICENSE-2.0                           #
10 #                                                                            #
11 # Unless required by applicable law or agreed to in writing, software        #
12 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT  #
13 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.           #
14 # See the License for the specific language governing permissions and        #
15 # limitations under the License.                                             #
16 ##############################################################################
17
18
19 *** Settings ***
20 Documentation     Test to verify the recovery and health of etcd cluster
21 ...               If the etcd node command line supports etcdctl3 then pass ${ETCD_VERSION} as "3"
22 ...               If the etcd node command line supports etcdctl then pass ${ETCD_VERSION} as "${EMPTY}"
23 Resource          etcd_ha.resource
24 Suite Setup       Open Connection And Log In
25 Suite Teardown    Close All Connections
26
27
28 *** Test Cases ***
29 Failure Of Etcd Node
30     Retrieve Etcd Config
31     Etcd Cluster Should Be Healthy
32     Delete Etcd Node
33     Wait For Etcd Node To Recover
34     Etcd Cluster Should Be Healthy