Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Commit

Permalink
Adding extended timeout to avoid RHV Console failure due to TimedOutE…
Browse files Browse the repository at this point in the history
…rror (#5168)
  • Loading branch information
kedark3 authored and Milan Falešník committed Aug 23, 2017
1 parent 2196799 commit b950d75
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion cfme/tests/cloud_infra_common/test_html5_vm_console.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def configure_websocket():


@pytest.mark.uncollectif(lambda: version.current_version() < '5.8', reason='Only valid for >= 5.8')
def test_html5_vm_console(appliance, provider, vm_obj, configure_websocket,
def test_html5_vm_console(appliance, provider, configure_websocket, vm_obj,
configure_vmware_console_for_test):
"""
Test the HTML5 console support for a particular provider.
Expand Down Expand Up @@ -195,4 +195,12 @@ def _validate_login():
assert command_result
finally:
vm_console.close_console_window()
# Logout is required because when running the Test back 2 back against RHV and VMware
# Providers, following issue would arise:
# If test for RHV is just finished, code would proceed to adding VMware Provider and once it
# is added, then it will navigate to Infrastructure -> Virtual Machines Page, it will see
# "Page Does not Exists" Error, because the browser will try to go to the
# VM details page of RHV VM which is already deleted
# at the End of test for RHV Provider Console and test would fail.
# Logging out would get rid of this issue.
appliance.server.logout()

0 comments on commit b950d75

Please sign in to comment.