Fix a 'memeber' typo
[integration/test.git] / csit / libraries / SetupUtils.robot
index c748097a1f162b26e6c64d8f1386e1cf4b16ebf5..9fb802e8ddaefdde336b71137b283feea08f9ac9 100644 (file)
@@ -23,29 +23,33 @@ ${SetupUtils__Known_Bug_ID}    ${EMPTY}
 
 *** Keywords ***
 Setup_Utils_For_Setup_And_Teardown
+    [Arguments]    ${http_timeout}=${DEFAULT_TIMEOUT_HTTP}
     [Documentation]    Prepare both FailFast and Karaf logging, log that the caller suite has started.
     ...    This keyword is to be used in suite setup, and without it the other keywords may not work properly.
     FailFast.Do_Not_Fail_Fast_From_Now_On
-    KarafKeywords.Setup Karaf Keywords
+    KarafKeywords.Setup Karaf Keywords    http_timeout=${http_timeout}
     BuiltIn.Run Keyword And Ignore Error    KarafKeywords.Log_Test_Suite_Start_To_Controller_Karaf
 
 Setup_Test_With_Logging_And_Fast_Failing
+    [Arguments]    ${member_index_list}=${EMPTY}
     [Documentation]    Test case setup which skips on previous failure. If not, logs test case name to Karaf log.
     ...    Recommended to be used as the default test case setup.
     FailFast.Fail_This_Fast_On_Previous_Error
-    BuiltIn.Run Keyword And Ignore Error    KarafKeywords.Log_Testcase_Start_To_Controller_Karaf
+    BuiltIn.Run Keyword And Ignore Error    KarafKeywords.Log_Testcase_Start_To_Controller_Karaf    member_index_list=${member_index_list}
 
 Setup_Test_With_Logging_And_Without_Fast_Failing
+    [Arguments]    ${member_index_list}=${EMPTY}
     [Documentation]    Test case setup which explicitly ignores previous failure and logs test case name to Karaf log.
     ...    Needed if the recommended default is to be overriden.
     FailFast.Run_Even_When_Failing_Fast
-    BuiltIn.Run Keyword And Ignore Error    KarafKeywords.Log_Testcase_Start_To_Controller_Karaf
+    BuiltIn.Run Keyword And Ignore Error    KarafKeywords.Log_Testcase_Start_To_Controller_Karaf    member_index_list=${member_index_list}
 
 Setup_Logging_For_Debug_Purposes_On_List_Or_All
     [Arguments]    ${log_level}    ${loggers_list}    ${member_index_list}=${EMPTY}
     [Documentation]    Set the log level for given loggers on node nodes of the cluster
-    : FOR    ${logger}    IN    @{loggers_list}
-    \    ClusterManagement.Run_Karaf_Command_On_List_Or_All    log:set ${log_level} ${logger}    member_index_list=${member_index_list}
+    FOR    ${logger}    IN    @{loggers_list}
+        ClusterManagement.Run_Karaf_Command_On_List_Or_All    log:set ${log_level} ${logger}    member_index_list=${member_index_list}
+    END
 
 Set_Known_Bug_Id
     [Arguments]    ${id}