-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[24.0] Record missing outputs as test errors #17874
Merged
mvdbeek
merged 12 commits into
galaxyproject:release_24.0
from
bernt-matthias:assert-empty-output_24.0
Apr 2, 2024
Merged
[24.0] Record missing outputs as test errors #17874
mvdbeek
merged 12 commits into
galaxyproject:release_24.0
from
bernt-matthias:assert-empty-output_24.0
Apr 2, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- remove the output that is always present - add a test that has no outputs
from planemo the verify_tool function is called from [within an try-except block](https://github.com/galaxyproject/planemo/blob/1aa3eb05a97ad20c0be6f6560ab5cec090e76612/planemo/engine/galaxy.py#L109) which silently catches any exception. Thus any exception raised from within verify_tool will not be detected, i.e. the assertion needs to be moved into `_verify_outputs` (which also seems to make sense by name) in order to make verify_tool record the problem properly.
thereby we implicitly make the assumption that a test needs to produce an output also make message more specific
otherwise the tool test will just return a list out of bounds exception which is unclear to the user
Co-authored-by: Marius van den Beek <[email protected]>
then it might be clearer what's going on here
4 tasks
mvdbeek
changed the title
[24.0] Missing outputs should be recorded as test errors
[24.0] Record missing outputs as test errors
Apr 2, 2024
mvdbeek
added a commit
to mvdbeek/galaxy
that referenced
this pull request
Apr 3, 2024
That fixes test_optional_workflow_output, which started failing after galaxyproject#17874, which removed the last static output of `output_filter`, and so there would never be any active datasets to wait on.
4 tasks
nsoranzo
added a commit
to mvdbeek/galaxy
that referenced
this pull request
Apr 3, 2024
``out_3`` has been removed in galaxyproject#17874 .
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Xref #16094
How to test the changes?
(Select all options that apply)
License