diff options
author | 2019-07-15 13:32:20 -0400 | |
---|---|---|
committer | 2019-07-15 15:32:44 -0400 | |
commit | 97fec22483d9410037714505b954ff80a0d15a0c (patch) | |
tree | 9b7b2662b5997be787a55597b5f14092a298bec6 /robot/resources/stack_validation/validate_common.robot | |
parent | 3148028e8f2e1a9cbd85d11002d3a78bfc620ba8 (diff) |
use the public key directly
using it from the property file rather than a file allows it to be set
by someon with no code change in robot
Issue-ID: TEST-167
Change-Id: If081282af993d5c55bf5d2a4eff9878cb0bb463f
Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/resources/stack_validation/validate_common.robot')
-rw-r--r-- | robot/resources/stack_validation/validate_common.robot | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/robot/resources/stack_validation/validate_common.robot b/robot/resources/stack_validation/validate_common.robot index 9c5be62c..c19d7a5c 100644 --- a/robot/resources/stack_validation/validate_common.robot +++ b/robot/resources/stack_validation/validate_common.robot @@ -19,10 +19,7 @@ Resource packet_generator_interface.robot Wait For Server [Documentation] Attempts to login to the passed server info and verify (??). Uses server info to get public ip and locate corresponding provate key file [Arguments] ${server_ip} ${timeout}=300s - #${file}= Catenate ${GLOBAL_VM_PRIVATE_KEY} - # Preload is using onap public key - ${file}= Catenate ${GLOBAL_ONAP_PRIVATE_KEY} - Wait Until Keyword Succeeds ${timeout} 5 sec Open Connection And Log In ${server_ip} root ${file} + Wait Until Keyword Succeeds ${timeout} 5 sec Open Connection And Log In ${server_ip} root ${GLOBAL_INJECTED_PRIVATE_KEY} ${lines}= Grep Local File "Accepted publickey" /var/log/auth.log Log ${lines} Should Not Be Empty ${lines} |