From 97fec22483d9410037714505b954ff80a0d15a0c Mon Sep 17 00:00:00 2001 From: DR695H Date: Mon, 15 Jul 2019 13:32:20 -0400 Subject: 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 --- robot/resources/stack_validation/validate_common.robot | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'robot/resources/stack_validation') 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} -- cgit