X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=Automation%2FTests%2FKeepAlive%2Fkeep_alive_test.robot;fp=Automation%2FTests%2FKeepAlive%2Fkeep_alive_test.robot;h=ac226a262711965cfe37dd56c30b90afe2fb208e;hb=fba870af318f9c7061fb53bf5ae398f600069b6e;hp=0000000000000000000000000000000000000000;hpb=d36bbc4b8f5a0798b46d9631af1a264979f4a28b;p=ric-plt%2Fe2mgr.git diff --git a/Automation/Tests/KeepAlive/keep_alive_test.robot b/Automation/Tests/KeepAlive/keep_alive_test.robot new file mode 100644 index 0000000..ac226a2 --- /dev/null +++ b/Automation/Tests/KeepAlive/keep_alive_test.robot @@ -0,0 +1,43 @@ +############################################################################## +# +# Copyright (c) 2019 AT&T Intellectual Property. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +############################################################################## +*** Settings *** +Suite Setup Prepare Enviorment +Resource ../Resource/resource.robot +Resource ../Resource/Keywords.robot +Resource ../Resource/scripts_variables.robot +Library ../Scripts/find_error_script.py +Library OperatingSystem +Library Collections + + +*** Test Cases *** + +Stop E2T + stop_e2 + Sleep 1s + +Prepare logs for tests + Remove log files + Save logs + +Verify Is Dead Message Printed + ${result} find_error_script.find_error ${EXECDIR} ${e2mgr_log_filename} ${e2_is_dead_message_printed} + Should Be Equal As Strings ${result} True + +Start E2T + start_e2 \ No newline at end of file