-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[BEAM-3250] Migrate Apex and Gearpump ValidatesRunner tests to Gradle #5025
Conversation
herohde
commented
Apr 4, 2018
- Added a new test category to exclude ParDoLifecycleTest
f4fecb9
to
1160bcd
Compare
Run seed job |
testClassesDirs = files(project(":sdks:java:core").sourceSets.test.output.classesDirs) | ||
useJUnit { | ||
includeCategories 'org.apache.beam.sdk.testing.ValidatesRunner' | ||
excludeCategories 'org.apache.beam.sdk.testing.FlattenWithHeterogeneousCoders' |
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.
These seem like the wrong exclude categories when compared to
Line 72 in 5caa883
org.apache.beam.sdk.testing.FlattenWithHeterogeneousCoders, |
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.
Done
/** | ||
* Category tag for the ParDoLifecycleTest for exclusion (BEAM-3241). | ||
*/ | ||
public class UsesParDoLifecycle {} |
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.
Use interface instead of class
runners/gearpump/build.gradle
Outdated
validatesRunner project(path: project.path, configuration: "shadow") | ||
} | ||
|
||
task validatesRunnerStreaming (type: Test) { |
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.
nit: spacing validatesRunnerStreaming (
-> validatesRunnerStreaming(
runners/apex/build.gradle
Outdated
@@ -73,5 +82,31 @@ task buildDependencyTree(type: DependencyReportTask) { | |||
} | |||
compileJava.dependsOn buildDependencyTree | |||
|
|||
task validatesRunnerBatch (type: Test) { |
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.
nit: spacing validatesRunnerBatch (
-> validatesRunnerBatch(
Thanks @lukecwik. PTAL |
Run seed job |