Fix regular expression for timeout (#53994)

This commit is contained in:
Mike Wiebe 2019-03-20 03:32:11 -04:00 committed by Trishna Guha
parent 5b79631380
commit 07212c395b

View file

@ -267,7 +267,7 @@ def parse_show_install(data):
# We get these messages when the upgrade is non-disruptive and
# we loose connection with the switchover but far enough along that
# we can be confident the upgrade succeeded.
if re.search(r'timeout trying to send command: install', x):
if re.search(r'timeout .*trying to send command: install', x):
ud['upgrade_succeeded'] = True
ud['use_impact_data'] = True
break