Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"comment": "Modify this file in a trivial way to cause this test suite to run!",
"modification": 1,
"modification": 2
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
beam_PostCommit_Java_ValidatesRunner_Dataflow_V2_Streaming:
name: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
runs-on: [self-hosted, ubuntu-24.04, main]
timeout-minutes: 510
timeout-minutes: 720
strategy:
matrix:
job_name: [beam_PostCommit_Java_ValidatesRunner_Dataflow_V2_Streaming]
Expand Down Expand Up @@ -101,4 +101,4 @@ jobs:
commit: '${{ env.prsha || env.GITHUB_SHA }}'
comment_mode: ${{ github.event_name == 'issue_comment' && 'always' || 'off' }}
files: '**/build/test-results/**/*.xml'
large_files: true
large_files: true
4 changes: 3 additions & 1 deletion runners/google-cloud-dataflow-java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -258,14 +258,15 @@ def createRunnerV2ValidatesRunnerTest = { Map args ->
def pipelineOptions = args.pipelineOptions ?: runnerV2PipelineOptions
def excludedTests = args.excludedTests ?: []
def excludedCategories = args.excludedCategories ?: []
def maxParallelForksForTest = args.maxParallelForks != null ? args.maxParallelForks : Integer.MAX_VALUE

return tasks.create(name: name, type: Test, group: "Verification") {
dependsOn buildAndPushDockerJavaContainer
systemProperty "beamTestPipelineOptions", JsonOutput.toJson(pipelineOptions)

// Increase test parallelism up to the number of Gradle workers. By default this is equal
// to the number of CPU cores, but can be increased by setting --max-workers=N.
maxParallelForks Integer.MAX_VALUE
maxParallelForks maxParallelForksForTest
classpath = configurations.validatesRunner
testClassesDirs = files(project(":sdks:java:core").sourceSets.test.output.classesDirs) +
files(project(project.path).sourceSets.test.output.classesDirs)
Expand Down Expand Up @@ -613,6 +614,7 @@ task validatesRunnerV2Streaming {
description = "Runs the ValidatesRunner tests on Dataflow Runner V2 forcing streaming mode"
dependsOn(createRunnerV2ValidatesRunnerTest(
name: 'validatesRunnerV2TestStreaming',
maxParallelForks: 4,
pipelineOptions: runnerV2PipelineOptions + ['--streaming', '--experiments=enable_streaming_engine'],
excludedCategories: [
'org.apache.beam.sdk.testing.LargeKeys$Above10KB',
Expand Down
Loading