SXP: Verify that all bindings are present
[integration/test.git] / csit / suites / coe / Pods_Scalability_Tests.robot
1 *** Settings ***
2 Suite Setup       Coe Suite Setup
3 Suite Teardown    Coe Suite Teardown
4 Test Teardown     Coe.Tear Down
5 Library           BuiltIn
6 Library           SSHLibrary
7 Library           String
8 Resource          ../../libraries/Coe.robot
9 Resource          ../../libraries/DataModels.robot
10 Resource          ../../libraries/SSHKeywords.robot
11 Resource          ../../libraries/Utils.robot
12 Resource          ../../variables/netvirt/Variables.robot
13 Resource          ../../variables/Variables.robot
14
15 *** Variables ***
16 ${NO_OF_PODS_PER_VM}    9
17
18 *** Test Cases ***
19 Verify Connectivity Between Pods
20     Assign Labels
21     BuiltIn.Wait Until Keyword Succeeds    55s    2s    Coe.Check Pod Status Is Running
22     Coe.Collect Pod Names and Ping
23
24 *** Keywords ***
25 Apply label and Create pods
26     [Arguments]    ${label}
27     : FOR    ${i}    IN RANGE    1    ${NO_OF_PODS_PER_VM}+1
28     \    Coe.Create Pods    ${label}    ${label}-busybox${i}.yaml    ${label}-busybox${i}
29
30 Assign Labels
31     : FOR    ${i}    IN RANGE    1    ${NUM_TOOLS_SYSTEM}
32     \    ${label} =    BuiltIn.Set Variable    ss${i}
33     \    Apply label and Create pods    ${label}