1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/1158442a46ef/ Changeset: 1158442a46ef User: jmchilton Date: 2014-11-19 17:46:19+00:00 Summary: Merge next-stable. Affected #: 2 files diff -r ba2808ad2c779d3b09013aaf56a752fa9993cdfc -r 1158442a46ef6cff18dac1c606934696adfbd422 install_and_test_tool_shed_repositories.sh --- a/install_and_test_tool_shed_repositories.sh +++ b/install_and_test_tool_shed_repositories.sh @@ -1,5 +1,9 @@ #!/bin/sh +# Enable verbose test errors for install and test framework. +GALAXY_TEST_VERBOSE_ERRORS="True" +export GALAXY_TEST_VERBOSE_ERRORS + # A good place to look for nose info: http://somethingaboutorange.com/mrl/projects/nose/ # The test/install_and_test_tool_shed_repositories/functional_tests.py cannot be executed directly because it must diff -r ba2808ad2c779d3b09013aaf56a752fa9993cdfc -r 1158442a46ef6cff18dac1c606934696adfbd422 test/base/interactor.py --- a/test/base/interactor.py +++ b/test/base/interactor.py @@ -59,7 +59,7 @@ attributes = output_testdef.attributes name = output_testdef.name for job in jobs: - self.wait_for_job( job[ 'id' ], maxseconds ) + self.wait_for_job( job[ 'id' ], history_id, maxseconds ) hid = self.__output_id( output_data ) fetcher = self.__dataset_fetcher( history_id ) ## TODO: Twill version verifys dataset is 'ok' in here. @@ -115,8 +115,8 @@ def wait_for_history( self, history_id, maxseconds ): self.twill_test_case.wait_for( lambda: not self.__history_ready( history_id ), maxseconds=maxseconds) - def wait_for_job( self, job_id, maxseconds ): - self.twill_test_case.wait_for( lambda: not self.__job_ready( job_id ), maxseconds=maxseconds) + def wait_for_job( self, job_id, history_id, maxseconds ): + self.twill_test_case.wait_for( lambda: not self.__job_ready( job_id, history_id ), maxseconds=maxseconds) def get_job_stdio( self, job_id ): job_stdio = self.__get_job_stdio( job_id ).json() @@ -270,20 +270,14 @@ pass return wait - def __wait_for_job( self, job_id ): - def wait(): - while not self.__job_ready( job_id ): - pass - return wait - - def __job_ready( self, job_id ): + def __job_ready( self, job_id, history_id ): job_json = self._get( "jobs/%s" % job_id ).json() state = job_json[ 'state' ] try: return self._state_ready( state, error_msg="Job in error state." ) except Exception: if VERBOSE_ERRORS: - self._summarize_job_errors( history_id ) + self._summarize_history_errors( history_id ) raise def __history_ready( self, history_id ): Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.