From 65d309f44aea2232593c2a2b3a2e23e643e52fe2 Mon Sep 17 00:00:00 2001 From: Alan Rominger Date: Fri, 18 Apr 2025 11:19:32 -0400 Subject: [PATCH] Comment out actual fix --- awx/main/tests/live/tests/test_host_update_contention.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/main/tests/live/tests/test_host_update_contention.py b/awx/main/tests/live/tests/test_host_update_contention.py index f7d9dbbfd1..52579b26ad 100644 --- a/awx/main/tests/live/tests/test_host_update_contention.py +++ b/awx/main/tests/live/tests/test_host_update_contention.py @@ -21,8 +21,8 @@ def worker_delete_target(ready_event, continue_event, field_name): # wait for the coordination message continue_event.wait() - # presumed fix - host_list = sorted(host_list, key=lambda host: host.id) + # # presumed fix + # host_list = sorted(host_list, key=lambda host: host.id) # NOTE: did not reproduce the bug without batch_size Host.objects.bulk_update(host_list, [field_name], batch_size=100)