Skip to content

Commit 1769be9

Browse files
committed
Fix go integration tests on flink
1 parent 986dcac commit 1769be9

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
#
18+
19+
taskmanager.memory.network.fraction: 0.2
20+
taskmanager.memory.network.max: 2gb

sdks/go/test/run_validatesrunner_tests.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ set -e
7373
trap '! [[ "$BASH_COMMAND" =~ ^(echo|read|if|ARGS|shift|SOCKET_SCRIPT|\[\[) ]] && \
7474
cmd=`eval echo "$BASH_COMMAND" 2>/dev/null` && echo "\$ $cmd"' DEBUG
7575

76+
# Resolve current directory
77+
CURRENT_DIRECTORY=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
78+
7679
# Default test targets.
7780
TESTS="./test/integration/... ./test/regression"
7881

@@ -271,6 +274,7 @@ elif [[ "$RUNNER" == "flink" || "$RUNNER" == "spark" || "$RUNNER" == "samza" ||
271274
java \
272275
-jar $FLINK_JOB_SERVER_JAR \
273276
--flink-master [local] \
277+
--flink-conf-dir $CURRENT_DIRECTORY/resources \
274278
--job-port $JOB_PORT \
275279
--expansion-port 0 \
276280
--artifact-port 0 &

0 commit comments

Comments
 (0)