Fix regular expression for timeout (#53994)
This commit is contained in:
parent
5b79631380
commit
07212c395b
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ def parse_show_install(data):
|
||||||
# We get these messages when the upgrade is non-disruptive and
|
# We get these messages when the upgrade is non-disruptive and
|
||||||
# we loose connection with the switchover but far enough along that
|
# we loose connection with the switchover but far enough along that
|
||||||
# we can be confident the upgrade succeeded.
|
# 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['upgrade_succeeded'] = True
|
||||||
ud['use_impact_data'] = True
|
ud['use_impact_data'] = True
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in a new issue