tests/rv_connect.py: Catch a more specific exception

Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
上级 78a8009f
......@@ -147,7 +147,7 @@ def launch_rv(client_vm, guest_vm, params):
# Launching the actual set of commands
try:
client_session.cmd("startx &", timeout=15)
except:
except ShellCmdError:
logging.debug("Ignoring an Exception that Occurs from calling startx")
wait_timeout(15)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册