Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix transiently failing tool shed tests. #2030

Merged
merged 1 commit into from Mar 30, 2016

Conversation

jmchilton
Copy link
Member

Comments inline - I don't know why but the retry would fix the transient problems acording to the Jenkins tests with the previous exception added to verify this would fix the problem.

Comments inline - I don't know why but the retry would fix the transient problems acording to the Jenkins tests with the previous exception added to verify this would fix the problem.
@martenson
Copy link
Member

black magic I say!

@dannon
Copy link
Member

dannon commented Mar 29, 2016

If there's a valid failure here in the naked exception, won't this go into an infinitely failing loop? (that is, maybe aggressive=False on the second attempt)

@jmchilton
Copy link
Member Author

@dannon export_capsule calls _export_capsule not export_capsule, I don't think it will result in an infinite loop - let me know if I am wrong though.

@@ -548,18 +548,11 @@ def export_capsule( self, repository, aggressive=False, includes_dependencies=No
else:
try:
return self._export_capsule(repository, includes_dependencies=includes_dependencies)
except Exception as original_error:
except Exception:
# Emperically this fails occasionally, we don't know
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'Empirically'

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@dannon
Copy link
Member

dannon commented Mar 29, 2016

Argh, missed that _. Of course it makes sense to have export_capsule and _export_capsule. This should be fine.

@dannon dannon merged commit 35767b1 into galaxyproject:dev Mar 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants