Skip to content

Commit

Permalink
Increase patience of Galaxy tests throughout.
Browse files Browse the repository at this point in the history
This should help reduce various API and Selenium transient failures.
  • Loading branch information
jmchilton committed Feb 10, 2017
1 parent 6f5743d commit 1922d50
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/api/test_tools.py
Expand Up @@ -912,7 +912,7 @@ def _check_map_cat1_over_two_collections( self, history_id, inputs ):
self.assertEquals( len( outputs ), 2 )
output1 = outputs[ 0 ]
output2 = outputs[ 1 ]
self.dataset_populator.wait_for_history( history_id, timeout=25 )
self.dataset_populator.wait_for_history( history_id )
output1_content = self.dataset_populator.get_history_dataset_content( history_id, dataset=output1 )
output2_content = self.dataset_populator.get_history_dataset_content( history_id, dataset=output2 )
self.assertEquals( output1_content.strip(), "123\n789" )
Expand Down
4 changes: 2 additions & 2 deletions test/api/test_workflow_extraction.py
Expand Up @@ -98,7 +98,7 @@ def test_extract_reduction_from_history( self ):
history_id=self.history_id,
)
job_id2 = reduction_run_output[ "jobs" ][ 0 ][ "id" ]
self.dataset_populator.wait_for_history( self.history_id, assert_ok=True, timeout=20 )
self.dataset_populator.wait_for_history( self.history_id, assert_ok=True )
downloaded_workflow = self._extract_and_download_workflow(
dataset_collection_ids=[ hdca[ "hid" ] ],
job_ids=[ job_id1, job_id2 ],
Expand Down Expand Up @@ -425,7 +425,7 @@ def _run_tool_get_collection_and_job_id( self, history_id, tool_id, inputs ):
)
implicit_hdca = run_output1[ "implicit_collections" ][ 0 ]
job_id = run_output1[ "jobs" ][ 0 ][ "id" ]
self.dataset_populator.wait_for_history( history_id, assert_ok=True, timeout=20 )
self.dataset_populator.wait_for_history( history_id, assert_ok=True )
return implicit_hdca, job_id

def __check_workflow(
Expand Down
2 changes: 1 addition & 1 deletion test/base/populators.py
Expand Up @@ -17,7 +17,7 @@
workflow_random_x2_str = resource_string( __name__, "data/test_workflow_2.ga" )


DEFAULT_TIMEOUT = 15 # Secs to wait for state to turn ok
DEFAULT_TIMEOUT = 60 # Secs to wait for state to turn ok


def skip_without_tool( tool_id ):
Expand Down
2 changes: 1 addition & 1 deletion test/selenium_tests/framework.py
Expand Up @@ -33,7 +33,7 @@

from galaxy.util import asbool

DEFAULT_WAIT_TIMEOUT = 15
DEFAULT_WAIT_TIMEOUT = 60
DEFAULT_TEST_ERRORS_DIRECTORY = os.path.abspath("database/test_errors")
DEFAULT_SELENIUM_BROWSER = "auto"
DEFAULT_SELENIUM_REMOTE = False
Expand Down

0 comments on commit 1922d50

Please sign in to comment.