X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fshared%2Ftest_setup.robot;fp=resources%2Flibraries%2Frobot%2Fshared%2Ftest_setup.robot;h=5ebe048cd9f9474195c832f3e37977dfed96a19b;hp=941b90490aae3476862cfda97cda91b8fb15a983;hb=50ca85359a75da29371ea3b97d2bccf7653b99d6;hpb=7bf76acc8b93cd9b19e80b2c8c29aa762dbb216a diff --git a/resources/libraries/robot/shared/test_setup.robot b/resources/libraries/robot/shared/test_setup.robot index 941b90490a..5ebe048cd9 100644 --- a/resources/libraries/robot/shared/test_setup.robot +++ b/resources/libraries/robot/shared/test_setup.robot @@ -1,4 +1,4 @@ -# Copyright (c) 2019 Cisco and/or its affiliates. +# Copyright (c) 2020 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -41,3 +41,10 @@ | | FOR | ${dut} | IN | @{duts} | | | Clean Up Namespaces | ${nodes['${dut}']} | | END + +| Additional Test Setup Action For performance +| | [Documentation] +| | ... | Additional Setup for tests which uses namespace. +| | +| | ${trex_running}= | Is Trex Running | ${tg} +| | Run Keyword Unless | ${trex_running} | Startup Trex | ${tg} | ${osi_layer}