Skip to content

Commit

Permalink
Increase search rate for syncplan polling
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dosas committed Jun 19, 2024
1 parent 28474f1 commit 20f7004
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/foreman/ui/test_syncplan.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'])
Expand Down Expand Up @@ -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'])
Expand Down

0 comments on commit 20f7004

Please sign in to comment.