-
Notifications
You must be signed in to change notification settings - Fork 4
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
update toil and resurrect tests #300
Merged
Merged
Changes from 13 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
d65ad2c
Update config.yml
denis-yuen 60f0666
Update install-tests.sh
denis-yuen d8cb679
looks like this was already broken in #8
denis-yuen cda6e2c
match existing packages
denis-yuen 5122e51
some weird junit weirdness?
denis-yuen 5deabba
new versions of toil seem to have a jobstore mandatory
denis-yuen 44314f9
Revert "new versions of toil seem to have a jobstore mandatory"
denis-yuen 3c8ad13
Reapply "new versions of toil seem to have a jobstore mandatory"
denis-yuen b101ce1
are bits of toil missing?
denis-yuen dc80b35
sigh @ python
denis-yuen 0dfbcf1
bypass job store
denis-yuen 479d125
works locally
denis-yuen 68aff93
toil version string changed a bit
denis-yuen f044c70
pr feedback
denis-yuen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
10 changes: 10 additions & 0 deletions
10
dockstore-client/src/main/java/io/dockstore/common/ToilOnlyTest.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package io.dockstore.common; | ||
|
||
public interface ToilOnlyTest { | ||
|
||
String NAME = "io.dockstore.common.ToilOnlyTest"; | ||
|
||
default String getName() { | ||
return NAME; | ||
} | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,14 +15,16 @@ | |
*/ | ||
package io.github.collaboratory.cwl; | ||
|
||
import io.dockstore.common.ToilOnlyTest; | ||
import org.apache.commons.io.FileUtils; | ||
import org.junit.Ignore; | ||
import org.junit.experimental.categories.Category; | ||
import org.junit.jupiter.api.Tag; | ||
|
||
/** | ||
* @author dyuen | ||
*/ | ||
@Ignore | ||
// @Category(ToilOnlyTest.class) | ||
@Tag(ToilOnlyTest.NAME) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Something weird is going on here with junit and how this is being picked up by surefire/failsafe, may want to work on this together with updating them in general since we're out-of-date in this repo |
||
@Category(ToilOnlyTest.class) | ||
public class ToilLauncherIT extends LauncherIT { | ||
|
||
public String getConfigFile() { | ||
|
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to go look up that
Utilities.executeCommand()
returns a pair with stdOut and stdErr. For code readability, suggest a comment and/or arecord
.Also, Toil changed where the version is displayed to stdOut from stdErr?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah on the second point.
I'll add a ticket since
executeCommand
is overloaded and used in a bunch of places.https://ucsc-cgl.atlassian.net/browse/SEAB-6828