Bug fix on the Keywords, SSHLibrary write command takes the older values. 50/50650/2
authorabbas <abbas.pareedkunju@tcs.com>
Thu, 19 Jan 2017 08:20:16 +0000 (00:20 -0800)
committerVratko Polák <vrpolak@cisco.com>
Tue, 24 Jan 2017 13:49:52 +0000 (13:49 +0000)
Change-Id: If4e064b0b1cf87f00faacd0e58c49fb9645aed20
Signed-off-by: abbas <abbas.pareedkunju@tcs.com>
csit/libraries/DevstackUtils.robot
csit/libraries/Utils.robot

index 766d2d59009d58c2e89883ebf7e72c79fc7a6576..b2fc3ae64a8e1f003e4b64e57f39ff09ffeca190 100644 (file)
@@ -81,6 +81,7 @@ Write Commands Until Prompt
     [Arguments]    ${cmd}    ${timeout}=${default_devstack_prompt_timeout}
     [Documentation]    quick wrapper for Write and Read Until Prompt Keywords to make test cases more readable
     SSHLibrary.Set Client Configuration    timeout=${timeout}
+    SSHLibrary.Read
     SSHLibrary.Write    ${cmd}
     ${output}=    SSHLibrary.Read Until Prompt
     [Return]    ${output}
index 48d825d4072766e4046348792438934f4d798f1c..f107f9a3116f77d6d14e1499b4d1e8dbb5ec1585 100644 (file)
@@ -464,6 +464,7 @@ Write Commands Until Expected Prompt
     [Arguments]    ${cmd}    ${prompt}    ${timeout}=30s
     [Documentation]    quick wrapper for Write and Read Until Prompt Keywords to make test cases more readable
     SSHLibrary.Set Client Configuration    timeout=${timeout}
+    SSHLibrary.Read
     SSHLibrary.Write    ${cmd}
     ${output}=    SSHLibrary.Read Until    ${prompt}
     [Return]    ${output}