Merge "Increase timeout heartbeat_failure_action validation"
This commit is contained in:
commit
4a94955bea
@ -272,11 +272,11 @@ def verify_heartbeat_failure_action(action):
|
|||||||
After service-parameter apply is called, the command takes some time to
|
After service-parameter apply is called, the command takes some time to
|
||||||
change heartbeat failure action value and complete system configuration.
|
change heartbeat failure action value and complete system configuration.
|
||||||
This function verifies the heartbeat_failure_action value in /etc/mtc.ini
|
This function verifies the heartbeat_failure_action value in /etc/mtc.ini
|
||||||
every 03 seconds (maximum wait time: 21 seconds) in order to validate
|
every 04 seconds (maximum wait time: 60 seconds) in order to validate
|
||||||
that the parameter was updated.
|
that the parameter was updated.
|
||||||
"""
|
"""
|
||||||
for i in range(7):
|
for i in range(15):
|
||||||
time.sleep(3)
|
time.sleep(4)
|
||||||
value = get_heartbeat_failure_action()
|
value = get_heartbeat_failure_action()
|
||||||
if value == action:
|
if value == action:
|
||||||
return True
|
return True
|
||||||
|
Loading…
Reference in New Issue
Block a user