From b77c4ae3dc9cebbb292b2c0ec0a82417450487f1 Mon Sep 17 00:00:00 2001 From: ThanKarab Date: Fri, 15 Sep 2023 14:19:42 +0300 Subject: [PATCH] Reduced tasks timeout in localnodes of the standalone tests. --- tests/standalone_tests/test_remote_tables.py | 2 +- tests/standalone_tests/testing_env_configs/test_globalnode.toml | 2 +- tests/standalone_tests/testing_env_configs/test_localnode1.toml | 2 +- tests/standalone_tests/testing_env_configs/test_localnode2.toml | 2 +- .../standalone_tests/testing_env_configs/test_localnodetmp.toml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/standalone_tests/test_remote_tables.py b/tests/standalone_tests/test_remote_tables.py index 0e5c84ed5..10ab2a0fb 100644 --- a/tests/standalone_tests/test_remote_tables.py +++ b/tests/standalone_tests/test_remote_tables.py @@ -169,5 +169,5 @@ def test_remote_table_error_on_non_published_table( globalnode_celery_app.get_result( async_result=async_result, logger=StdOutputLogger(), - timeout=300, + timeout=TASKS_TIMEOUT, ) diff --git a/tests/standalone_tests/testing_env_configs/test_globalnode.toml b/tests/standalone_tests/testing_env_configs/test_globalnode.toml index 493fed21a..534a3358c 100644 --- a/tests/standalone_tests/testing_env_configs/test_globalnode.toml +++ b/tests/standalone_tests/testing_env_configs/test_globalnode.toml @@ -9,7 +9,7 @@ minimum_row_count = 10 [celery] worker_concurrency = 16 -tasks_timeout = 120 +tasks_timeout = 10 run_udf_task_timeout = 300 [rabbitmq] diff --git a/tests/standalone_tests/testing_env_configs/test_localnode1.toml b/tests/standalone_tests/testing_env_configs/test_localnode1.toml index 87e0b89ce..f033108b9 100644 --- a/tests/standalone_tests/testing_env_configs/test_localnode1.toml +++ b/tests/standalone_tests/testing_env_configs/test_localnode1.toml @@ -9,7 +9,7 @@ minimum_row_count = 10 [celery] worker_concurrency = 16 -tasks_timeout = 120 +tasks_timeout = 10 run_udf_task_timeout = 300 [rabbitmq] diff --git a/tests/standalone_tests/testing_env_configs/test_localnode2.toml b/tests/standalone_tests/testing_env_configs/test_localnode2.toml index 6504c7939..b47ecf3bf 100644 --- a/tests/standalone_tests/testing_env_configs/test_localnode2.toml +++ b/tests/standalone_tests/testing_env_configs/test_localnode2.toml @@ -9,7 +9,7 @@ minimum_row_count = 10 [celery] worker_concurrency = 16 -tasks_timeout = 120 +tasks_timeout = 10 run_udf_task_timeout = 300 [rabbitmq] diff --git a/tests/standalone_tests/testing_env_configs/test_localnodetmp.toml b/tests/standalone_tests/testing_env_configs/test_localnodetmp.toml index b218425e6..e05df6a97 100644 --- a/tests/standalone_tests/testing_env_configs/test_localnodetmp.toml +++ b/tests/standalone_tests/testing_env_configs/test_localnodetmp.toml @@ -9,7 +9,7 @@ minimum_row_count = 10 [celery] worker_concurrency = 16 -tasks_timeout = 120 +tasks_timeout = 10 run_udf_task_timeout = 300 [rabbitmq]