commit/galaxy-central: jmchilton: Revert old test polling behavior with respect to 'new' state.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/42cd5d55755a/ Changeset: 42cd5d55755a User: jmchilton Date: 2014-10-14 17:21:12+00:00 Summary: Revert old test polling behavior with respect to 'new' state. So that upload failures don't cause test to hang indefinitely. Affected #: 1 file diff -r c465fdbdbdb2db64e08c31e8eb0084c20e9e50ff -r 42cd5d55755a729dd2f19ccd1ed20649ed29f6ac test/base/twilltestcase.py --- a/test/base/twilltestcase.py +++ b/test/base/twilltestcase.py @@ -1296,7 +1296,7 @@ history_id = loads( self.last_page() )[0][ 'id' ] self.visit_url( '/api/histories/%s' % history_id ) jsondata = loads( self.last_page() ) - return jsondata[ 'state' ] in [ 'new', 'queued', 'running' ] + return jsondata[ 'state' ] in [ 'queued', 'running' ] def get_tags( self, item_id, item_class ): self.visit_url( "%s/tag/get_tagging_elt_async?item_id=%s&item_class=%s" % \ 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