You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by mx...@apache.org on 2019/01/17 02:07:33 UTC

[beam] branch master updated: [BEAM-6405] Disable parallel test execution of Java PortableValidatesRunner (#7515)

This is an automated email from the ASF dual-hosted git repository.

mxm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 6ed2e2b  [BEAM-6405] Disable parallel test execution of Java PortableValidatesRunner (#7515)
6ed2e2b is described below

commit 6ed2e2b68cc988e4d234463aafc6e77dcf2f54a3
Author: Maximilian Michels <mx...@apache.org>
AuthorDate: Wed Jan 16 21:07:23 2019 -0500

    [BEAM-6405] Disable parallel test execution of Java PortableValidatesRunner (#7515)
    
    We have cut down the test execution time significantly by switching to the
    EMBEDDED execution mode. We're seeing 'Exit Code 137' regularly in the
    batch tests, which means that the host OS killed the test process due to memory
    exhaustion.
    
    Disabling parallel test execution to avoid those memory problems.
---
 runners/flink/job-server/flink_job_server.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runners/flink/job-server/flink_job_server.gradle b/runners/flink/job-server/flink_job_server.gradle
index 0611969..8f6a703 100644
--- a/runners/flink/job-server/flink_job_server.gradle
+++ b/runners/flink/job-server/flink_job_server.gradle
@@ -120,7 +120,7 @@ def portableValidatesRunnerTask(String name, Boolean streaming) {
     jobServerDriver: "org.apache.beam.runners.flink.FlinkJobServerDriver",
     jobServerConfig: "--clean-artifacts-per-job,--job-host=localhost,--job-port=0,--artifact-port=0",
     testClasspathConfiguration: configurations.validatesPortableRunner,
-      numParallelTests: 2,
+      numParallelTests: 1,
       pipelineOpts: pipelineOptions,
       environment: BeamModulePlugin.PortableValidatesRunnerConfiguration.Environment.EMBEDDED,
       testCategories: {