From 20f7004226d863ad75ac8fc11d1d1ae5691679c6 Mon Sep 17 00:00:00 2001 From: dosas Date: Wed, 19 Jun 2024 10:23:15 +0200 Subject: [PATCH] Increase search rate for syncplan polling The timediff was increased to 5 minutes. On 'fast' UIs this can lead to poll timeouts. Increasing the search rate to 15 fixes this: 15 * 20 / 60 = 5 --- tests/foreman/ui/test_syncplan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/foreman/ui/test_syncplan.py b/tests/foreman/ui/test_syncplan.py index 3c58f70655e..e39ec6e9777 100644 --- a/tests/foreman/ui/test_syncplan.py +++ b/tests/foreman/ui/test_syncplan.py @@ -230,7 +230,7 @@ def test_positive_synchronize_custom_product_custom_cron_real_time(session, modu f' and organization_id = {module_org.id}' f' and resource_id = {repo.id}' ' and resource_type = Katello::Repository', - search_rate=10, + search_rate=15, max_tries=20, ) validate_repo_content(repo, ['erratum', 'rpm', 'package_group']) @@ -295,7 +295,7 @@ def test_positive_synchronize_custom_product_custom_cron_past_sync_date( f' and organization_id = {module_org.id}' f' and resource_id = {repo.id}' ' and resource_type = Katello::Repository', - search_rate=10, + search_rate=15, max_tries=20, ) validate_repo_content(repo, ['erratum', 'rpm', 'package_group'])