Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue
Speed up tests by:
The list of 30 slowest in in ensemble evaluator after this PR
=================================================================== slowest 30 durations ==================================================================== 2.04s call tests/ert/unit_tests/ensemble_evaluator/test_scheduler.py::test_scheduler_receives_checksum_and_waits_for_disk_sync 1.20s call tests/ert/unit_tests/ensemble_evaluator/test_ensemble_client.py::test_retry 1.20s call tests/ert/unit_tests/ensemble_evaluator/test_monitor.py::test_unexpected_close_after_connection_successful 1.02s call tests/ert/unit_tests/ensemble_evaluator/test_ensemble_legacy.py::test_run_and_cancel_legacy_ensemble 1.02s call tests/ert/unit_tests/ensemble_evaluator/test_ensemble_legacy.py::test_run_legacy_ensemble 1.01s call tests/ert/unit_tests/ensemble_evaluator/test_ensemble_evaluator.py::test_new_monitor_can_pick_up_where_we_left_off 1.01s call tests/ert/unit_tests/ensemble_evaluator/test_ensemble_evaluator.py::test_restarted_jobs_do_not_have_error_msgs 0.51s call tests/ert/unit_tests/ensemble_evaluator/test_ensemble_evaluator.py::test_ensure_multi_level_events_in_order 0.51s call tests/ert/unit_tests/ensemble_evaluator/test_ensemble_evaluator.py::test_monitor_receive_heartbeats 0.51s call tests/ert/unit_tests/ensemble_evaluator/test_ensemble_evaluator.py::test_when_task_prematurely_ends_raises_exception[_publisher-publisher_task] 0.51s call tests/ert/unit_tests/ensemble_evaluator/test_monitor.py::test_that_monitor_cannot_connect_with_wrong_server_key[False] 0.51s teardown tests/ert/unit_tests/ensemble_evaluator/test_ensemble_evaluator.py::test_new_connections_are_no_problem_when_evaluator_is_closing_down 0.50s call tests/ert/unit_tests/ensemble_evaluator/test_ensemble_evaluator.py::test_when_task_prematurely_ends_raises_exception[_process_event_buffer-processing_task] 0.50s teardown tests/ert/unit_tests/ensemble_evaluator/test_ensemble_evaluator.py::test_restarted_jobs_do_not_have_error_msgs 0.50s teardown tests/ert/unit_tests/ensemble_evaluator/test_ensemble_evaluator.py::test_monitor_receive_heartbeats 0.50s call tests/ert/unit_tests/ensemble_evaluator/test_ensemble_evaluator.py::test_when_task_prematurely_ends_raises_exception[_batch_events_into_buffer-dispatcher_task] 0.50s teardown tests/ert/unit_tests/ensemble_evaluator/test_ensemble_evaluator.py::test_new_monitor_can_pick_up_where_we_left_off 0.31s call tests/ert/unit_tests/ensemble_evaluator/test_ensemble_evaluator.py::test_dispatch_endpoint_clients_can_connect_and_monitor_can_shut_down_evaluator 0.25s call tests/ert/unit_tests/ensemble_evaluator/test_monitor.py::test_that_monitor_track_can_exit_without_terminated_event_from_evaluator 0.24s call tests/ert/unit_tests/ensemble_evaluator/test_async_queue_execution.py::test_happy_path 0.23s call tests/ert/unit_tests/ensemble_evaluator/test_ensemble_client.py::test_reconnect_when_missing_heartbeat 0.19s call tests/ert/unit_tests/ensemble_evaluator/test_monitor.py::test_that_monitor_cannot_connect_with_wrong_server_key[True] 0.15s call tests/ert/unit_tests/ensemble_evaluator/test_monitor.py::test_immediate_stop 0.14s call tests/ert/unit_tests/ensemble_evaluator/test_ensemble_client.py::test_successful_sending 0.13s call tests/ert/unit_tests/ensemble_evaluator/test_ensemble_evaluator.py::test_overspent_cpu_is_logged 0.12s call tests/ert/unit_tests/ensemble_evaluator/test_monitor.py::test_that_monitor_can_emit_heartbeats 0.12s call tests/ert/unit_tests/ensemble_evaluator/test_monitor.py::test_monitor_connects_and_disconnects_successfully 0.10s call tests/ert/unit_tests/ensemble_evaluator/test_monitor.py::test_no_connection_established 0.03s setup tests/ert/unit_tests/ensemble_evaluator/test_ensemble_legacy.py::test_queue_config_properties_propagated_to_scheduler 0.01s call tests/ert/unit_tests/ensemble_evaluator/test_ensemble_legacy.py::test_queue_config_properties_propagated_to_scheduler ==================================================================== 54 passed in 15.99s ====================================================================
Approach
Short description of the approach
(Screenshot of new behavior in GUI if applicable)
git rebase -i main --exec 'pytest tests/ert/unit_tests tests/everest -n auto --hypothesis-profile=fast -m "not integration_test"'
)When applicable