Skip to content

Commit

Permalink
remove stuck test
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrai2 committed Oct 28, 2024
1 parent 29c0611 commit d210506
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions tests/unit/framework/test_pipeline_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,19 +195,6 @@ def test_restart_failed_pipelines_sets_old_pipeline_index(self):
pipeline_manager.restart_failed_pipeline()
mock_create_pipeline.assert_called_once_with(1)

@mock.patch("multiprocessing.Process")
def test_restart_failed_pipeline_adds_error_output_health_check_to_metrics_exporter(
self, tmp_path
):
with mock.patch("logprep.framework.pipeline_manager.OutputQueueListener"):
with mock.patch("logprep.framework.pipeline_manager.ThrottlingQueue"):
self.config.error_output = {"dummy": {"type": "dummy_output"}}
pipeline_manager = PipelineManager(self.config)
mock_export = mock.MagicMock()
pipeline_manager.prometheus_exporter = mock_export
pipeline_manager.restart()
mock_export.update_healthchecks.assert_called()

def test_pipeline_manager_sets_queue_size_for_http_input(self):
config = deepcopy(self.config)
config.input = {
Expand Down

0 comments on commit d210506

Please sign in to comment.