Fix tests to fail when over drift over heartbeat time

This commit is contained in:
Gabe Muniz 2023-03-17 00:24:25 -04:00
parent 6461ecc762
commit 3f83647600

View File

@ -347,8 +347,8 @@ class TestJobReaper(object):
'status, execution_node, controller_node, modified, fail',
[
('running', '', '', None, False), # running, not assigned to the instance
('running', 'awx', '', None, True), # running, has the instance as its execution_node
('running', '', 'awx', None, True), # running, has the instance as its controller_node
('running', 'awx', '', minute, True), # running, has the instance as its execution_node
('running', '', 'awx', minute, True), # running, has the instance as its controller_node
('waiting', '', '', None, False), # waiting, not assigned to the instance
('waiting', 'awx', '', None, False), # waiting, was edited less than a minute ago
('waiting', '', 'awx', None, False), # waiting, was edited less than a minute ago