Prevents health checks on all node types except for Execution nodes

This commit is contained in:
Alex Corey
2022-10-11 16:22:42 -04:00
parent ddd09461fb
commit 41fd6ea37f
3 changed files with 7 additions and 6 deletions

View File

@@ -7,7 +7,7 @@ from awx.main.models.ha import Instance
from django.test.utils import override_settings
INSTANCE_KWARGS = dict(hostname='example-host', cpu=6, memory=36000000000, cpu_capacity=6, mem_capacity=42)
INSTANCE_KWARGS = dict(hostname='example-host', cpu=6, node_type='execution', memory=36000000000, cpu_capacity=6, mem_capacity=42)
@pytest.mark.django_db