From e65d7fec679cc393c08f0d32f1ad61bbd71a35f8 Mon Sep 17 00:00:00 2001 From: DR695H Date: Thu, 13 Jun 2019 15:21:13 -0400 Subject: remove the unused import and remove the dnsutils Change-Id: I41fc25ab47baac9f82011a68161b0963c074e590 Issue-ID: TEST-164 Signed-off-by: DR695H --- red.xml | 3 +-- robot/resources/browser_setup.robot | 4 ---- robot/resources/json_templater.robot | 1 - robot/resources/portal-sdk/portalDef.robot | 1 - robot/resources/stack_validation/validate_vlb.robot | 21 +++------------------ robot/resources/stack_validation/validate_vvg.robot | 1 - 6 files changed, 4 insertions(+), 27 deletions(-) diff --git a/red.xml b/red.xml index 56b71595..7c682bf4 100644 --- a/red.xml +++ b/red.xml @@ -13,15 +13,14 @@ - - + diff --git a/robot/resources/browser_setup.robot b/robot/resources/browser_setup.robot index f9203f31..3af1342a 100644 --- a/robot/resources/browser_setup.robot +++ b/robot/resources/browser_setup.robot @@ -1,7 +1,6 @@ *** Settings *** Documentation The main interface for interacting with VID. It handles low level stuff like managing the selenium request library and VID required steps Library Collections -Library OSUtils Library OperatingSystem Library SeleniumLibrary Resource global_properties.robot @@ -16,7 +15,6 @@ Setup Browser Run Keyword If '${GLOBAL_SELENIUM_BROWSER}' == 'chrome' Setup Browser Chrome Log Running with ${GLOBAL_SELENIUM_BROWSER} - Setup Browser Firefox ${caps}= Evaluate sys.modules['selenium.webdriver'].common.desired_capabilities.DesiredCapabilities.FIREFOX sys Set To Dictionary ${caps} marionette= @@ -25,8 +23,6 @@ Setup Browser Firefox Set Global Variable ${GLOBAL_SELENIUM_BROWSER_CAPABILITIES} ${caps} Setup Browser Chrome - ${os}= Get Normalized Os - Log Normalized OS=${os} ${chrome options}= Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys Call Method ${chrome options} add_argument no-sandbox Run Keyword If ${HEADLESS}==True Call Method ${chrome options} add_argument headless diff --git a/robot/resources/json_templater.robot b/robot/resources/json_templater.robot index 6a5ca171..b0572511 100644 --- a/robot/resources/json_templater.robot +++ b/robot/resources/json_templater.robot @@ -3,7 +3,6 @@ Documentation This resource is filling out json string templates and returni Library RequestsLibrary Library StringTemplater Library OperatingSystem -Resource global_properties.robot *** Keywords *** Fill JSON Template diff --git a/robot/resources/portal-sdk/portalDef.robot b/robot/resources/portal-sdk/portalDef.robot index 41fbeea4..df85bfae 100644 --- a/robot/resources/portal-sdk/portalDef.robot +++ b/robot/resources/portal-sdk/portalDef.robot @@ -6,7 +6,6 @@ Library RequestsLibrary Library UUID Library DateTime Library Collections -Library OSUtils Library StringTemplater Library String diff --git a/robot/resources/stack_validation/validate_vlb.robot b/robot/resources/stack_validation/validate_vlb.robot index bab15648..6e5c58ba 100644 --- a/robot/resources/stack_validation/validate_vlb.robot +++ b/robot/resources/stack_validation/validate_vlb.robot @@ -1,7 +1,6 @@ *** Settings *** Documentation Testing openstack. Library String -Library DNSUtils Library Collections Library SSHLibrary Resource validate_common.robot @@ -20,21 +19,7 @@ Validate vLB Stack Log Returned from Get Openstack Servers ${vlb_public_ip}= Get Server Ip ${server_list} ${stack_info} vlb_name_0 network_name=public Log Waiting for ${vlb_public_ip} to reconfigure - Sleep 180s # Server validations diabled due to issues with load balancer network reconfiguration - # at startup hanging the robot scripts - Wait For vLB ${vlb_public_ip} - Log All server processes up - -Wait For vLB - [Documentation] Wait for the VLB to be functioning as a DNS - [Arguments] ${ip} - Wait Until Keyword Succeeds 300s 10s DNSTest ${ip} - Log Succeeded - -DNSTest - [Documentation] Wait for the defined VLoadBalancer to process nslookup - [Arguments] ${ip} - Log Looking up ${ip} - #${returned_ip}= Dns Request host1.dnsdemo.openecomp.org ${ip} - #Should Contain '${returned_ip}' . + # at startup hanging the robot scripts so just sleep + Sleep 180s + Log All server processes up \ No newline at end of file diff --git a/robot/resources/stack_validation/validate_vvg.robot b/robot/resources/stack_validation/validate_vvg.robot index 05b1e8a5..cd9a855d 100644 --- a/robot/resources/stack_validation/validate_vvg.robot +++ b/robot/resources/stack_validation/validate_vvg.robot @@ -1,7 +1,6 @@ *** Settings *** Documentation Testing openstack. Library String -Library DNSUtils Library Collections Resource validate_common.robot -- cgit 1.2.3-korg