2121 assert_computation_task_out_obj ,
2222)
2323from models_library .api_schemas_directorv2 .comp_tasks import ComputationGet
24- from models_library .clusters import DEFAULT_CLUSTER_ID , ClusterAuthentication
24+ from models_library .clusters import ClusterAuthentication
2525from models_library .projects import ProjectAtDB
2626from models_library .projects_nodes import NodeState
2727from models_library .projects_nodes_io import NodeID
@@ -463,7 +463,6 @@ def _convert_to_pipeline_details(
463463 exp_task_state = RunningState .PUBLISHED ,
464464 exp_pipeline_details = expected_pipeline_details ,
465465 iteration = 1 ,
466- cluster_id = DEFAULT_CLUSTER_ID ,
467466 )
468467
469468 # now wait for the computation to finish
@@ -479,7 +478,6 @@ def _convert_to_pipeline_details(
479478 exp_task_state = RunningState .SUCCESS ,
480479 exp_pipeline_details = expected_pipeline_details_after_run ,
481480 iteration = 1 ,
482- cluster_id = DEFAULT_CLUSTER_ID ,
483481 )
484482
485483 # run it a second time. the tasks are all up-to-date, nothing should be run
@@ -531,7 +529,6 @@ def _convert_to_pipeline_details(
531529 exp_task_state = RunningState .PUBLISHED ,
532530 exp_pipeline_details = expected_pipeline_details_forced ,
533531 iteration = 2 ,
534- cluster_id = DEFAULT_CLUSTER_ID ,
535532 )
536533
537534 # now wait for the computation to finish
@@ -572,7 +569,6 @@ async def test_run_computation(
572569 exp_task_state = RunningState .PUBLISHED ,
573570 exp_pipeline_details = fake_workbench_computational_pipeline_details ,
574571 iteration = 1 ,
575- cluster_id = DEFAULT_CLUSTER_ID ,
576572 )
577573
578574 # wait for the computation to start
@@ -595,7 +591,6 @@ async def test_run_computation(
595591 exp_task_state = RunningState .SUCCESS ,
596592 exp_pipeline_details = fake_workbench_computational_pipeline_details_completed ,
597593 iteration = 1 ,
598- cluster_id = DEFAULT_CLUSTER_ID ,
599594 )
600595
601596 # NOTE: currently the webserver is the one updating the projects table so we need to fake this by copying the run_hash
@@ -642,7 +637,6 @@ async def test_run_computation(
642637 exp_task_state = RunningState .PUBLISHED ,
643638 exp_pipeline_details = expected_pipeline_details_forced , # NOTE: here the pipeline already ran so its states are different
644639 iteration = 2 ,
645- cluster_id = DEFAULT_CLUSTER_ID ,
646640 )
647641
648642 # wait for the computation to finish
@@ -655,7 +649,6 @@ async def test_run_computation(
655649 exp_task_state = RunningState .SUCCESS ,
656650 exp_pipeline_details = fake_workbench_computational_pipeline_details_completed ,
657651 iteration = 2 ,
658- cluster_id = DEFAULT_CLUSTER_ID ,
659652 )
660653
661654
@@ -692,7 +685,6 @@ async def test_abort_computation(
692685 exp_task_state = RunningState .PUBLISHED ,
693686 exp_pipeline_details = fake_workbench_computational_pipeline_details ,
694687 iteration = 1 ,
695- cluster_id = DEFAULT_CLUSTER_ID ,
696688 )
697689
698690 # wait until the pipeline is started
@@ -765,7 +757,6 @@ async def test_update_and_delete_computation(
765757 exp_task_state = RunningState .NOT_STARTED ,
766758 exp_pipeline_details = fake_workbench_computational_pipeline_details_not_started ,
767759 iteration = None ,
768- cluster_id = None ,
769760 )
770761
771762 # update the pipeline
@@ -784,7 +775,6 @@ async def test_update_and_delete_computation(
784775 exp_task_state = RunningState .NOT_STARTED ,
785776 exp_pipeline_details = fake_workbench_computational_pipeline_details_not_started ,
786777 iteration = None ,
787- cluster_id = None ,
788778 )
789779
790780 # update the pipeline
@@ -803,7 +793,6 @@ async def test_update_and_delete_computation(
803793 exp_task_state = RunningState .NOT_STARTED ,
804794 exp_pipeline_details = fake_workbench_computational_pipeline_details_not_started ,
805795 iteration = None ,
806- cluster_id = None ,
807796 )
808797
809798 # start it now
@@ -821,7 +810,6 @@ async def test_update_and_delete_computation(
821810 exp_task_state = RunningState .PUBLISHED ,
822811 exp_pipeline_details = fake_workbench_computational_pipeline_details ,
823812 iteration = 1 ,
824- cluster_id = DEFAULT_CLUSTER_ID ,
825813 )
826814
827815 # wait until the pipeline is started
0 commit comments