From 3f83647600ff9bb87af87a917b841bc4903288b1 Mon Sep 17 00:00:00 2001 From: Gabe Muniz Date: Fri, 17 Mar 2023 00:24:25 -0400 Subject: [PATCH] Fix tests to fail when over drift over heartbeat time --- awx/main/tests/functional/test_dispatch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/main/tests/functional/test_dispatch.py b/awx/main/tests/functional/test_dispatch.py index 8198d466cb..66ba63c5e9 100644 --- a/awx/main/tests/functional/test_dispatch.py +++ b/awx/main/tests/functional/test_dispatch.py @@ -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