File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -173,14 +173,12 @@ def test_workflow_test_with_serve(self):
173173 """
174174 cat = os .path .join (PROJECT_TEMPLATES_DIR , "demo" , "cat.xml" )
175175 test_artifact = os .path .join (TEST_DATA_DIR , "wf2.ga" )
176- json_out = tempfile .NamedTemporaryFile (delete = False , suffix = '.json' )
177176 extra_args = [
178177 "--serve" ,
179178 test_artifact ,
180179 "--port" , str (self ._port ),
181180 "--no_dependency_resolution" ,
182181 "--extra_tools" , cat ,
183- "--test_output_json" , json_out .name ,
184182 ]
185183 self ._launch_thread_and_wait (self ._run_test , extra_args )
186184 time .sleep (30 )
@@ -192,14 +190,6 @@ def test_workflow_test_with_serve(self):
192190 assert workflows [0 ]['name' ] == 'TestWorkflow1'
193191 histories = user_gi .histories .get_histories (name = "CWL Target History" )
194192 assert len (histories ) == 1
195- for _ in range (60 ):
196- state_ids = [d ['state' ] for d in user_gi .histories .show_history (histories [0 ]['id' ], contents = True )]
197- if len (state_ids ) == 3 and set (state_ids ) == {'ok' , }:
198- break
199- else :
200- time .sleep (10 )
201- else :
202- raise Exception ("Datasets did not reach an ok state within 10 minutes." )
203193
204194 @skip_if_environ ("PLANEMO_SKIP_GALAXY_TESTS" )
205195 def test_serve_profile (self ):
You can’t perform that action at this time.
0 commit comments