commit/galaxy-central: jmchilton: Add option test system environment option GALAXY_TEST_VERBOSE_ERRORS to report on dataset errors.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/183668ed911c/ Changeset: 183668ed911c User: jmchilton Date: 2014-04-18 15:41:59 Summary: Add option test system environment option GALAXY_TEST_VERBOSE_ERRORS to report on dataset errors. Implemented a while ago to aid debugging but disabled by default because it can cause sqlite locking errors. It can now be enabled as needed using GALAXY_TEST_VERBOSE_ERRORS. Affected #: 1 file diff -r 7f05a259b98a16f0cb86e69a9c2e8746f1520623 -r 183668ed911ca0ad937f3ffebf81557fb6567fd4 test/base/interactor.py --- a/test/base/interactor.py +++ b/test/base/interactor.py @@ -3,7 +3,7 @@ from galaxy.tools.parameters import grouping from galaxy import eggs eggs.require( "requests" ) -from galaxy.util import listify +from galaxy import util from galaxy.util.odict import odict import galaxy.model from galaxy.model.orm import and_, desc @@ -13,7 +13,10 @@ from logging import getLogger log = getLogger( __name__ ) -VERBOSE_ERRORS = False +# Off by default because it can pound the database pretty heavily +# and result in sqlite errors on larger tests or larger numbers of +# tests. +VERBOSE_ERRORS = util.asbool( os.environ.get( "GALAXY_TEST_VERBOSE_ERRORS", False ) ) ERROR_MESSAGE_DATASET_SEP = "--------------------------------------" 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.
participants (1)
-
commits-noreply@bitbucket.org