Skip to content

Commit

Permalink
[BEAM-10016, BEAM-10094] Disable single test to get portable validate…
Browse files Browse the repository at this point in the history
…s runner signal back to green

Follow-up on fixing the issue should happen separately.
  • Loading branch information
lukecwik committed May 27, 2020
1 parent 17ce646 commit 630a488
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,12 @@ class BeamModulePlugin implements Plugin<Project> {
// includeCategories 'org.apache.beam.sdk.testing.ValidatesRunner'
// excludeCategories 'org.apache.beam.sdk.testing.FlattenWithHeterogeneousCoders'
}
// Tests to include/exclude from running, by default all tests are included
Closure testFilter = {
// Use the following to include / exclude tests:
// includeTestsMatching 'org.apache.beam.sdk.transforms.FlattenTest.testFlattenWithDifferentInputAndOutputCoders2'
// excludeTestsMatching 'org.apache.beam.sdk.transforms.FlattenTest.testFlattenWithDifferentInputAndOutputCoders2'
}
// Configuration for the classpath when running the test.
Configuration testClasspathConfiguration
// Additional system properties.
Expand Down Expand Up @@ -1689,6 +1695,7 @@ class BeamModulePlugin implements Plugin<Project> {
testClassesDirs = project.files(project.project(":sdks:java:core").sourceSets.test.output.classesDirs, project.project(":runners:core-java").sourceSets.test.output.classesDirs)
maxParallelForks config.numParallelTests
useJUnit(config.testCategories)
filter(config.testFilter)
// increase maxHeapSize as this is directly correlated to direct memory,
// see https://issues.apache.org/jira/browse/BEAM-6698
maxHeapSize = '4g'
Expand Down
4 changes: 4 additions & 0 deletions runners/flink/job-server/flink_job_server.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ def portableValidatesRunnerTask(String name, Boolean streaming) {
excludeCategories 'org.apache.beam.sdk.testing.UsesSplittableParDoWithWindowedSideInputs'
excludeCategories 'org.apache.beam.sdk.testing.UsesUnboundedSplittableParDo'
},
testFilter: {
// TODO(BEAM-10016)
excludeTestsMatching 'org.apache.beam.sdk.transforms.FlattenTest.testFlattenWithDifferentInputAndOutputCoders2'
},
)
}

Expand Down
4 changes: 4 additions & 0 deletions runners/spark/job-server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ def portableValidatesRunnerTask(String name) {
excludeCategories 'org.apache.beam.sdk.testing.UsesStrictTimerOrdering'
excludeCategories 'org.apache.beam.sdk.testing.UsesBundleFinalizer'
},
testFilter: {
// TODO(BEAM-10094)
excludeTestsMatching 'org.apache.beam.sdk.transforms.FlattenTest.testFlattenWithDifferentInputAndOutputCoders2'
},
)
}

Expand Down

0 comments on commit 630a488

Please sign in to comment.