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

[BEAM-3250] Migrate Apex and Gearpump ValidatesRunner tests to Gradle #5025

Merged
merged 3 commits into from
Apr 5, 2018

Conversation

herohde
Copy link
Contributor

@herohde herohde commented Apr 4, 2018

  • Added a new test category to exclude ParDoLifecycleTest

@herohde herohde force-pushed the gradle branch 2 times, most recently from f4fecb9 to 1160bcd Compare April 4, 2018 22:59
@herohde
Copy link
Contributor Author

herohde commented Apr 4, 2018

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'
Copy link
Member

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

org.apache.beam.sdk.testing.FlattenWithHeterogeneousCoders,

Copy link
Contributor Author

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 {}
Copy link
Member

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

validatesRunner project(path: project.path, configuration: "shadow")
}

task validatesRunnerStreaming (type: Test) {
Copy link
Member

Choose a reason for hiding this comment

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

nit: spacing validatesRunnerStreaming ( -> validatesRunnerStreaming(

@@ -73,5 +82,31 @@ task buildDependencyTree(type: DependencyReportTask) {
}
compileJava.dependsOn buildDependencyTree

task validatesRunnerBatch (type: Test) {
Copy link
Member

Choose a reason for hiding this comment

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

nit: spacing validatesRunnerBatch ( -> validatesRunnerBatch(

@herohde
Copy link
Contributor Author

herohde commented Apr 4, 2018

Thanks @lukecwik. PTAL

@herohde
Copy link
Contributor Author

herohde commented Apr 4, 2018

Run seed job

@aaltay aaltay merged commit e42278c into apache:master Apr 5, 2018
@herohde herohde deleted the gradle branch April 5, 2018 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants