Skip to content

Commit

Permalink
Fix the broken flink tests by optimizing conf
Browse files Browse the repository at this point in the history
  • Loading branch information
liferoad committed Nov 16, 2024
1 parent bc28ea4 commit cd7a300
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions runners/flink/src/test/resources/flink-conf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@
parallelism.default: 23
taskmanager.memory.network.fraction: 0.2
taskmanager.memory.network.max: 2gb
taskmanager.memory.managed.size: 1gb
4 changes: 3 additions & 1 deletion sdks/python/test-suites/portable/common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -278,12 +278,14 @@ project.tasks.register("flinkExamples") {
def testOpts = [
"--log-cli-level=INFO",
]
def flink_conf_dir = "${rootDir}/runners/flink/src/test/resources/"
def pipelineOpts = [
"--runner=FlinkRunner",
"--project=apache-beam-testing",
"--environment_type=LOOPBACK",
"--temp_location=gs://temp-storage-for-end-to-end-tests/temp-it",
"--flink_job_server_jar=${project(":runners:flink:${latestFlinkVersion}:job-server").shadowJar.archivePath}",
"--flink_conf_dir=${flink_conf_dir}",
'--sdk_harness_log_level_overrides=' +
// suppress info level flink.runtime log flood
'{\\"org.apache.flink.runtime\\":\\"WARN\\",' +
Expand Down Expand Up @@ -339,7 +341,7 @@ project.tasks.register("prismExamples") {
'setupVirtualenv',
'installGcpTest',
':runners:prism:build',
]
]
def prismBin = "${rootDir}/runners/prism/build/tmp/prism"
doLast {
def testOpts = [
Expand Down

0 comments on commit cd7a300

Please sign in to comment.