Skip to content

Commit

Permalink
Remove pytest durations from tests (#102)
Browse files Browse the repository at this point in the history
Even though the --durations flag can be very helpful in debugging and troubleshooting test durations, to have it in a permanent basis adds overhead to the tests and obfuscates us seeing more relevant data, such as coverage report, since the last lines look like this:

```
================================ slowest durations ================================
2.01s call     tests/test_hooks.py::TestRayHook::test_wait_for_load_balancer_timeout
1.01s call     tests/test_triggers.py::TestRayJobTrigger::test_run_with_log_streaming
1.01s call     tests/test_triggers.py::TestRayJobTrigger::test_run_job_succeeded
1.01s call     tests/test_triggers.py::TestRayJobTrigger::test_run_job_failed
1.01s call     tests/test_triggers.py::TestRayJobTrigger::test_run_job_stopped
1.01s call     tests/test_hooks.py::TestRayHook::test_wait_for_load_balancer_service_not_found
0.19s call     tests/test_hooks.py::TestRayHook::test_get_connection_form_widgets
0.06s setup    tests/test_operators.py::TestSubmitRayJob::test_execute_with_wait[SUCCEEDED-None]
0.05s call     tests/test_decorators.py::TestRayDecoratedOperator::test_initialization
0.01s teardown tests/test_triggers.py::TestRayJobTrigger::test_run_job_succeeded
0.01s call     tests/test_triggers.py::TestRayJobTrigger::test_run_with_exception
0.01s call     tests/test_triggers.py::TestRayJobTrigger::test_run_no_job_id
0.00s call     tests/test_hooks.py::TestRayHook::test_load_yaml_content
0.00s setup    tests/test_triggers.py::TestRayJobTrigger::test_run_job_failed
0.00s call     tests/test_triggers.py::TestRayJobTrigger::test_stream_logs
0.00s teardown tests/test_triggers.py::TestRayJobTrigger::test_run_with_log_streaming
0.00s call     tests/test_hooks.py::TestRayHook::test_delete_ray_cluster_exception
0.00s call     tests/test_triggers.py::TestRayJobTrigger::test_poll_status
0.00s call     tests/test_hooks.py::TestRayHook::test_setup_kubeconfig_content
0.00s call     tests/test_hooks.py::TestRayHook::test_setup_ray_cluster_exception
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_execute_with_wait_and_defer
0.00s call     tests/test_hooks.py::TestRayHook::test_get_daemon_set
0.00s call     tests/test_triggers.py::TestRayJobTrigger::test_cleanup_with_cluster_yaml
0.00s call     tests/test_hooks.py::TestRayHook::test_delete_ray_cluster_success
0.00s call     tests/test_hooks.py::TestRayHook::test_validate_yaml_file_success
0.00s call     tests/test_hooks.py::TestRayHook::test_setup_ray_cluster_success
0.00s setup    tests/test_triggers.py::TestRayJobTrigger::test_stream_logs
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_execute_defer[http://dashboard.url]
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_execute_with_wait[RUNNING-defer]
0.00s call     tests/test_decorators.py::TestRayDecoratedOperator::test_execute_decorated_function
0.00s call     tests/test_hooks.py::TestRayHook::test_delete_daemon_set_exception
0.00s call     tests/test_hooks.py::TestRayHook::test_validate_yaml_file_invalid_yaml
0.00s call     tests/test_hooks.py::TestRayHook::test_delete_daemon_set_not_found
0.00s call     tests/test_hooks.py::TestRayHook::test_create_daemon_set
0.00s call     tests/test_decorators.py::TestRayDecoratedOperator::test_execute_failure
0.00s call     tests/test_hooks.py::TestRayHook::test_is_port_open
0.00s setup    tests/test_triggers.py::TestRayJobTrigger::test_run_with_log_streaming
0.00s call     tests/test_hooks.py::TestRayHook::test_get_daemon_set_not_found
0.00s call     tests/test_hooks.py::TestRayHook::test_delete_daemon_set
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_execute_job_unexpected_state
0.00s call     tests/test_hooks.py::TestRayHook::test_create_daemon_set_exception
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_execute_with_wait[SUCCEEDED-None]
0.00s call     tests/test_hooks.py::TestRayHook::test_install_kuberay_operator
0.00s setup    tests/test_hooks.py::TestRayHook::test_wait_for_load_balancer_service_not_found
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_execute_defer[None]
0.00s setup    tests/test_hooks.py::TestRayHook::test_create_or_update_cluster_update
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_execute_with_wait[PENDING-defer]
0.00s call     tests/test_decorators.py::TestRayDecoratedOperator::test_execute_with_entrypoint
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_execute_with_wait[STOPPED-raise]
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_execute_exception_handling
0.00s call     tests/test_operators.py::TestSetupRayCluster::test_hook_property
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_execute_cluster_setup_exception
0.00s setup    tests/test_hooks.py::TestRayHook::test_get_load_balancer_details_with_ingress
0.00s call     tests/test_hooks.py::TestRayHook::test_uninstall_kuberay_operator
0.00s teardown tests/test_triggers.py::TestRayJobTrigger::test_run_job_stopped
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_execute_with_wait[FAILED-raise]
0.00s call     tests/test_hooks.py::TestRayHook::test_delete_ray_job
0.00s teardown tests/test_triggers.py::TestRayJobTrigger::test_run_job_failed
0.00s setup    tests/test_hooks.py::TestRayHook::test_validate_yaml_file_success
0.00s call     tests/test_hooks.py::TestRayHook::test_wait_for_load_balancer_success
0.00s call     tests/test_hooks.py::TestRayHook::test_get_ray_job_status
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_execute_without_wait_no_cleanup
0.00s call     tests/test_hooks.py::TestRayHook::test_get_ray_job_logs
0.00s call     tests/test_hooks.py::TestRayHook::test_run_bash_command_exception
0.00s setup    tests/test_triggers.py::TestRayJobTrigger::test_run_job_stopped
0.00s call     tests/test_hooks.py::TestRayHook::test_setup_kubeconfig_path
0.00s call     tests/test_hooks.py::TestRayHook::test_create_daemon_set_no_body
0.00s setup    tests/test_hooks.py::TestRayHook::test_check_load_balancer_readiness_ip
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_execute_without_wait
0.00s setup    tests/test_hooks.py::TestRayHook::test_ray_client
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_on_kill
0.00s call     tests/test_hooks.py::TestRayHook::test_create_or_update_cluster_update
0.00s setup    tests/test_hooks.py::TestRayHook::test_ray_client_exception
0.00s setup    tests/test_hooks.py::TestRayHook::test_run_bash_command_exception
0.00s call     tests/test_hooks.py::TestRayHook::test_setup_kubeconfig_invalid_config
0.00s setup    tests/test_hooks.py::TestRayHook::test_wait_for_load_balancer_timeout
0.00s call     tests/test_hooks.py::TestRayHook::test_submit_ray_job
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_execute_with_wait[RUNNING-defer]
0.00s call     tests/test_hooks.py::TestRayHook::test_validate_yaml_file_not_found
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_execute_complete_cleanup_on_exception
0.00s call     tests/test_operators.py::TestSetupRayCluster::test_execute
0.00s setup    tests/test_hooks.py::TestRayHook::test_validate_yaml_file_not_exists
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_execute_with_wait_and_defer
0.00s call     tests/test_hooks.py::TestRayHook::test_validate_yaml_file_invalid_extension
0.00s teardown tests/test_triggers.py::TestRayJobTrigger::test_stream_logs
0.00s setup    tests/test_hooks.py::TestRayHook::test_submit_ray_job
0.00s setup    tests/test_hooks.py::TestRayHook::test_create_or_update_cluster_exception
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_execute_complete[FAILED-raise]
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_setup_cluster
0.00s call     tests/test_operators.py::TestDeleteRayCluster::test_execute
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_execute_defer[None]
0.00s setup    tests/test_hooks.py::TestRayHook::test_validate_yaml_file_invalid_yaml
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_execute_with_wait[FAILED-raise]
0.00s setup    tests/test_hooks.py::TestRayHook::test_delete_ray_cluster_exception
0.00s setup    tests/test_hooks.py::TestRayHook::test_check_load_balancer_readiness_hostname
0.00s setup    tests/test_hooks.py::TestRayHook::test_setup_ray_cluster_exception
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_execute_complete_with_cleanup
0.00s setup    tests/test_triggers.py::TestRayJobTrigger::test_run_no_job_id
0.00s setup    tests/test_hooks.py::TestRayHook::test_delete_ray_cluster_success
0.00s setup    tests/test_hooks.py::TestRayHook::test_get_service_not_found
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_execute_with_wait[STOPPED-raise]
0.00s setup    tests/test_hooks.py::TestRayHook::test_get_load_balancer_details_no_ingress
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_delete_cluster
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_delete_cluster_exception
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_execute_cluster_setup_exception
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_execute_without_wait_no_cleanup
0.00s setup    tests/test_hooks.py::TestRayHook::test_check_load_balancer_readiness_not_ready
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_setup_cluster_exception
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_execute_with_wait[PENDING-defer]
0.00s setup    tests/test_hooks.py::TestRayHook::test_get_service_success
0.00s call     tests/test_hooks.py::TestRayHook::test_get_load_balancer_details_with_ingress
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_execute_job_unexpected_state
0.00s setup    tests/test_hooks.py::TestRayHook::test_wait_for_load_balancer_success
0.00s call     tests/test_hooks.py::TestRayHook::test_ray_client
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_execute_defer[http://dashboard.url]
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_execute_exception_handling
0.00s setup    tests/test_hooks.py::TestRayHook::test_setup_ray_cluster_success
0.00s call     tests/test_hooks.py::TestRayHook::test_get_load_balancer_details_with_hostname
0.00s setup    tests/test_hooks.py::TestRayHook::test_get_load_balancer_details_with_hostname
0.00s setup    tests/test_hooks.py::TestRayHook::test_get_load_balancer_details_no_ip_or_hostname
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_execute_complete[STOPPED-raise]
0.00s call     tests/test_decorators.py::TestRayDecoratedOperator::test_invalid_config_raises_exception
0.00s teardown tests/test_triggers.py::TestRayJobTrigger::test_run_no_job_id
0.00s call     tests/test_operators.py::TestDeleteRayCluster::test_hook_property
0.00s call     tests/test_triggers.py::TestRayJobTrigger::test_cleanup_without_cluster_yaml
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_execute_without_wait
0.00s call     tests/test_decorators.py::TestRayDecoratedOperator::test_extract_function_body
0.00s call     tests/test_hooks.py::TestRayHook::test_get_service_success
0.00s call     tests/test_hooks.py::TestRayHook::test_ray_client_exception
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_execute_complete[SUCCEEDED-None]
0.00s call     tests/test_hooks.py::TestRayHook::test_get_service_not_found
0.00s setup    dev/tests/dags/test_dag_example.py::test_file_imports[None-None]
0.00s setup    tests/test_operators.py::TestSetupRayCluster::test_execute
0.00s call     tests/test_hooks.py::TestRayHook::test_get_load_balancer_details_no_ip_or_hostname
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_get_dashboard_url_xcom_variants[task.key-task-key]
0.00s teardown tests/test_hooks.py::TestRayHook::test_wait_for_load_balancer_timeout
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_get_dashboard_url_xcom_variants[single_key-None-single_key]
0.00s setup    tests/test_operators.py::TestDeleteRayCluster::test_execute
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_execute_complete[UNEXPECTED-raise]
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_on_kill
0.00s setup    tests/test_triggers.py::TestRayJobTrigger::test_cleanup_with_cluster_yaml
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_get_dashboard_url_xcom_variants[task.key-task-key]
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_get_dashboard_url_with_xcom
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_get_dashboard_url_xcom_variants[single_key-None-single_key]
0.00s teardown tests/test_triggers.py::TestRayJobTrigger::test_run_with_exception
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_execute_complete_unexpected_status
0.00s setup    tests/test_triggers.py::TestRayJobTrigger::test_run_with_exception
0.00s call     tests/test_hooks.py::TestRayHook::test_create_or_update_cluster_exception
0.00s setup    tests/test_triggers.py::TestRayJobTrigger::test_run_job_succeeded
0.00s call     tests/test_decorators.py::TestRayDecoratedOperator::test_initialization_defaults
0.00s call     tests/test_hooks.py::TestRayHook::test_get_load_balancer_details_no_ingress
0.00s setup    tests/test_triggers.py::TestRayJobTrigger::test_poll_status
0.00s setup    tests/test_triggers.py::TestRayJobTrigger::test_serialize
0.00s teardown tests/test_triggers.py::TestRayJobTrigger::test_cleanup_with_cluster_yaml
0.00s call     tests/test_hooks.py::TestRayHook::test_check_load_balancer_readiness_hostname
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_setup_cluster_exception
0.00s call     tests/test_hooks.py::TestRayHook::test_check_load_balancer_readiness_ip
0.00s teardown tests/test_triggers.py::TestRayJobTrigger::test_poll_status
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_execute_complete[SUCCEEDED-None]
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_get_dashboard_url_with_xcom
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_execute_complete[UNEXPECTED-raise]
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_init
0.00s call     tests/test_hooks.py::TestRayHook::test_validate_yaml_file_not_exists
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_execute_complete[STOPPED-raise]
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_setup_cluster
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_get_dashboard_url_without_xcom
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_execute_complete[FAILED-raise]
0.00s call     tests/test_hooks.py::TestRayHook::test_check_load_balancer_readiness_not_ready
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_execute_complete_with_cleanup
0.00s setup    tests/test_triggers.py::TestRayJobTrigger::test_cleanup_without_cluster_yaml
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_execute_complete_unexpected_status
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_execute_with_wait[SUCCEEDED-None]
0.00s call     tests/test_triggers.py::TestRayJobTrigger::test_serialize
0.00s call     tests/test_operators.py::TestSetupRayCluster::test_init
0.00s teardown tests/test_hooks.py::TestRayHook::test_delete_ray_cluster_exception
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_execute_complete[UNEXPECTED-raise]
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_execute_complete_cleanup_on_exception
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_init_no_timeout
0.00s setup    tests/test_decorators.py::TestRayDecoratedOperator::test_initialization
0.00s setup    tests/test_operators.py::TestSetupRayCluster::test_hook_property
0.00s teardown tests/test_hooks.py::TestRayHook::test_get_daemon_set_not_found
0.00s setup    tests/test_operators.py::TestDeleteRayCluster::test_hook_property
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_get_dashboard_url_without_xcom
0.00s teardown tests/test_hooks.py::TestRayHook::test_validate_yaml_file_invalid_yaml
0.00s teardown tests/test_triggers.py::TestRayJobTrigger::test_cleanup_without_cluster_yaml
0.00s call     tests/test_operators.py::TestDeleteRayCluster::test_init
0.00s call     tests/test_operators.py::TestDeleteRayCluster::test_init_default_gpu_plugin
0.00s call     tests/test_operators.py::TestSetupRayCluster::test_init_default_values
0.00s teardown dev/tests/dags/test_dag_example.py::test_dag_retries[dag_id0-dag0-fileloc0]
0.00s setup    tests/test_hooks.py::TestRayHook::test_setup_kubeconfig_content
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_execute_defer[http://dashboard.url]
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_execute_job_unexpected_state
0.00s teardown tests/test_triggers.py::TestRayJobTrigger::test_serialize
0.00s teardown dev/tests/dags/test_dag_example.py::test_file_imports[None-None]
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_execute_with_wait[STOPPED-raise]
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_execute_with_wait_and_defer
0.00s teardown tests/test_hooks.py::TestRayHook::test_check_load_balancer_readiness_not_ready
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_execute_exception_handling
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_execute_with_wait[RUNNING-defer]
0.00s setup    tests/test_hooks.py::TestRayHook::test_load_yaml_content
0.00s setup    dev/tests/dags/test_dag_example.py::test_dag_tags[dag_id0-dag0-fileloc0]
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_execute_with_wait[FAILED-raise]
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_get_dashboard_url_xcom_variants[task.key-task-key]
0.00s teardown tests/test_hooks.py::TestRayHook::test_wait_for_load_balancer_service_not_found
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_execute_complete[FAILED-raise]
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_execute_without_wait_no_cleanup
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_execute_defer[None]
0.00s call     tests/test_decorators.py::TestRayTaskDecorator::test_ray_task_decorator_with_config
0.00s teardown tests/test_hooks.py::TestRayHook::test_create_or_update_cluster_exception
0.00s teardown tests/test_hooks.py::TestRayHook::test_wait_for_load_balancer_success
0.00s setup    tests/test_decorators.py::TestRayDecoratedOperator::test_initialization_defaults
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_execute_cluster_setup_exception
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_execute_with_wait[PENDING-defer]
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_template_fields
0.00s call     tests/test_decorators.py::TestRayTaskDecorator::test_ray_task_decorator
0.00s call     tests/test_operators.py::TestSubmitRayJob::test_template_fields
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_execute_complete_cleanup_on_exception
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_get_dashboard_url_xcom_variants[single_key-None-single_key]
0.00s setup    tests/test_operators.py::TestSetupRayCluster::test_init
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_execute_without_wait
0.00s teardown tests/test_decorators.py::TestRayDecoratedOperator::test_initialization_defaults
0.00s setup    tests/test_decorators.py::TestRayDecoratedOperator::test_execute_decorated_function
0.00s setup    tests/test_hooks.py::TestRayHook::test_get_daemon_set
0.00s call     tests/test_decorators.py::TestRayTaskDecorator::test_ray_task_decorator_with_multiple_outputs
0.00s call     dev/tests/dags/test_dag_example.py::test_file_imports[None-None]
0.00s setup    tests/test_hooks.py::TestRayHook::test_create_daemon_set
0.00s setup    tests/test_hooks.py::TestRayHook::test_delete_ray_job
0.00s setup    tests/test_decorators.py::TestRayDecoratedOperator::test_invalid_config_raises_exception
0.00s teardown tests/test_hooks.py::TestRayHook::test_get_service_success
0.00s teardown tests/test_hooks.py::TestRayHook::test_setup_ray_cluster_exception
0.00s setup    tests/test_decorators.py::TestRayDecoratedOperator::test_extract_function_body
0.00s call     tests/test_hooks.py::TestRayHook::test_get_ui_field_behaviour
0.00s setup    tests/test_hooks.py::TestRayHook::test_get_daemon_set_not_found
0.00s teardown tests/test_hooks.py::TestRayHook::test_ray_client_exception
0.00s setup    tests/test_decorators.py::TestRayDecoratedOperator::test_execute_with_entrypoint
0.00s teardown tests/test_operators.py::TestDeleteRayCluster::test_execute
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_execute_complete[STOPPED-raise]
0.00s teardown tests/test_hooks.py::TestRayHook::test_validate_yaml_file_success
0.00s setup    tests/test_decorators.py::TestRayTaskDecorator::test_ray_task_decorator_with_config
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_execute_complete[SUCCEEDED-None]
0.00s teardown tests/test_decorators.py::TestRayDecoratedOperator::test_invalid_config_raises_exception
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_setup_cluster_exception
0.00s setup    tests/test_hooks.py::TestRayHook::test_delete_daemon_set_exception
0.00s teardown tests/test_hooks.py::TestRayHook::test_validate_yaml_file_not_exists
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_on_kill
0.00s teardown tests/test_hooks.py::TestRayHook::test_delete_daemon_set_exception
0.00s teardown tests/test_hooks.py::TestRayHook::test_run_bash_command_exception
0.00s setup    tests/test_hooks.py::TestRayHook::test_validate_yaml_file_not_found
0.00s setup    tests/test_operators.py::TestDeleteRayCluster::test_init
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_execute_complete_with_cleanup
0.00s setup    tests/test_hooks.py::TestRayHook::test_delete_daemon_set_not_found
0.00s teardown tests/test_decorators.py::TestRayDecoratedOperator::test_initialization
0.00s teardown tests/test_hooks.py::TestRayHook::test_setup_ray_cluster_success
0.00s teardown tests/test_hooks.py::TestRayHook::test_create_or_update_cluster_update
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_init
0.00s setup    tests/test_decorators.py::TestRayDecoratedOperator::test_execute_failure
0.00s setup    tests/test_hooks.py::TestRayHook::test_get_ui_field_behaviour
0.00s setup    tests/test_hooks.py::TestRayHook::test_create_daemon_set_no_body
0.00s setup    tests/test_hooks.py::TestRayHook::test_get_ray_job_logs
0.00s setup    tests/test_hooks.py::TestRayHook::test_install_kuberay_operator
0.00s setup    tests/test_hooks.py::TestRayHook::test_setup_kubeconfig_path
0.00s setup    tests/test_hooks.py::TestRayHook::test_is_port_open
0.00s setup    tests/test_hooks.py::TestRayHook::test_validate_yaml_file_invalid_extension
0.00s setup    tests/test_hooks.py::TestRayHook::test_setup_kubeconfig_invalid_config
0.00s teardown tests/test_operators.py::TestSetupRayCluster::test_execute
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_get_dashboard_url_without_xcom
0.00s teardown tests/test_hooks.py::TestRayHook::test_delete_ray_cluster_success
0.00s teardown tests/test_hooks.py::TestRayHook::test_ray_client
0.00s setup    tests/test_operators.py::TestDeleteRayCluster::test_init_default_gpu_plugin
0.00s setup    tests/test_hooks.py::TestRayHook::test_uninstall_kuberay_operator
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_delete_cluster_exception
0.00s setup    tests/test_operators.py::TestSetupRayCluster::test_init_default_values
0.00s teardown tests/test_hooks.py::TestRayHook::test_check_load_balancer_readiness_ip
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_init_no_timeout
0.00s teardown tests/test_hooks.py::TestRayHook::test_get_connection_form_widgets
0.00s setup    tests/test_decorators.py::TestRayTaskDecorator::test_ray_task_decorator
0.00s teardown tests/test_decorators.py::TestRayDecoratedOperator::test_execute_failure
0.00s teardown tests/test_hooks.py::TestRayHook::test_check_load_balancer_readiness_hostname
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_setup_cluster
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_get_dashboard_url_with_xcom
0.00s setup    tests/test_hooks.py::TestRayHook::test_get_ray_job_status
0.00s teardown tests/test_hooks.py::TestRayHook::test_setup_kubeconfig_content
0.00s teardown tests/test_hooks.py::TestRayHook::test_get_ui_field_behaviour
0.00s setup    tests/test_hooks.py::TestRayHook::test_delete_daemon_set
0.00s setup    tests/test_hooks.py::TestRayHook::test_get_connection_form_widgets
0.00s setup    tests/test_hooks.py::TestRayHook::test_create_daemon_set_exception
0.00s setup    tests/test_decorators.py::TestRayTaskDecorator::test_ray_task_decorator_with_multiple_outputs
0.00s teardown tests/test_hooks.py::TestRayHook::test_submit_ray_job
0.00s teardown tests/test_hooks.py::TestRayHook::test_setup_kubeconfig_invalid_config
0.00s teardown tests/test_hooks.py::TestRayHook::test_delete_daemon_set_not_found
0.00s teardown tests/test_decorators.py::TestRayDecoratedOperator::test_execute_with_entrypoint
0.00s teardown tests/test_hooks.py::TestRayHook::test_get_load_balancer_details_with_ingress
0.00s teardown tests/test_hooks.py::TestRayHook::test_get_daemon_set
0.00s teardown tests/test_hooks.py::TestRayHook::test_get_service_not_found
0.00s teardown tests/test_decorators.py::TestRayDecoratedOperator::test_execute_decorated_function
0.00s teardown tests/test_hooks.py::TestRayHook::test_load_yaml_content
0.00s teardown tests/test_decorators.py::TestRayTaskDecorator::test_ray_task_decorator_with_config
0.00s teardown tests/test_operators.py::TestDeleteRayCluster::test_hook_property
0.00s teardown tests/test_hooks.py::TestRayHook::test_get_load_balancer_details_with_hostname
0.00s teardown tests/test_hooks.py::TestRayHook::test_setup_kubeconfig_path
0.00s teardown tests/test_hooks.py::TestRayHook::test_install_kuberay_operator
0.00s setup    tests/test_operators.py::TestSubmitRayJob::test_delete_cluster
0.00s setup    dev/tests/dags/test_dag_example.py::test_dag_retries[dag_id0-dag0-fileloc0]
0.00s teardown tests/test_operators.py::TestSetupRayCluster::test_hook_property
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_execute_complete_unexpected_status
0.00s teardown tests/test_hooks.py::TestRayHook::test_get_load_balancer_details_no_ip_or_hostname
0.00s teardown tests/test_hooks.py::TestRayHook::test_get_load_balancer_details_no_ingress
0.00s teardown tests/test_hooks.py::TestRayHook::test_delete_daemon_set
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_init
0.00s teardown tests/test_hooks.py::TestRayHook::test_create_daemon_set
0.00s teardown tests/test_hooks.py::TestRayHook::test_create_daemon_set_no_body
0.00s teardown tests/test_decorators.py::TestRayDecoratedOperator::test_extract_function_body
0.00s teardown tests/test_hooks.py::TestRayHook::test_create_daemon_set_exception
0.00s teardown tests/test_hooks.py::TestRayHook::test_is_port_open
0.00s teardown tests/test_decorators.py::TestRayTaskDecorator::test_ray_task_decorator_with_multiple_outputs
0.00s teardown dev/tests/dags/test_dag_example.py::test_dag_tags[dag_id0-dag0-fileloc0]
0.00s teardown tests/test_operators.py::TestDeleteRayCluster::test_init_default_gpu_plugin
0.00s teardown tests/test_hooks.py::TestRayHook::test_validate_yaml_file_invalid_extension
0.00s teardown tests/test_hooks.py::TestRayHook::test_uninstall_kuberay_operator
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_delete_cluster_exception
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_template_fields
0.00s teardown tests/test_hooks.py::TestRayHook::test_validate_yaml_file_not_found
0.00s teardown tests/test_operators.py::TestSetupRayCluster::test_init_default_values
0.00s teardown tests/test_hooks.py::TestRayHook::test_delete_ray_job
0.00s teardown tests/test_hooks.py::TestRayHook::test_get_ray_job_logs
0.00s teardown tests/test_operators.py::TestSetupRayCluster::test_init
0.00s teardown tests/test_operators.py::TestDeleteRayCluster::test_init
0.00s teardown tests/test_hooks.py::TestRayHook::test_get_ray_job_status
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_delete_cluster
0.00s teardown tests/test_operators.py::TestSubmitRayJob::test_init_no_timeout
0.00s teardown tests/test_decorators.py::TestRayTaskDecorator::test_ray_task_decorator
```

I suggest we remove them and re-enable if we need to troubleshoot test durations, as needed.
  • Loading branch information
tatiana authored Nov 29, 2024
1 parent 008b134 commit 5b15f3a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion scripts/test/integration_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ pytest -vv \
--cov=ray_provider \
--cov-report=term-missing \
--cov-report=xml \
--durations=0 \
-m integration \
-s \
--log-cli-level=DEBUG
1 change: 0 additions & 1 deletion scripts/test/unit_cov.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ pytest \
--cov=ray_provider \
--cov-report=term-missing \
--cov-report=xml \
--durations=0 \
-m "not (integration or perf)" \
--ignore=tests/test_dag_example.py
1 change: 0 additions & 1 deletion scripts/test/unit_test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
pytest \
-vv \
--durations=0 \
-m "not (integration or perf)"

0 comments on commit 5b15f3a

Please sign in to comment.