File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,16 @@ task flinkValidatesRunner {
8484 dependsOn " :sdks:java:container:${ project.ext.currentJavaVersion} :docker"
8585 dependsOn " :runners:flink:${ project.ext.latestFlinkVersion} :job-server:shadowJar"
8686 dependsOn " :sdks:java:testing:expansion-service:buildTestExpansionServiceJar"
87+ doFirst {
88+ // Copy Flink conf file
89+ copy {
90+ from " ${ project.rootDir} /runners/flink/2.0/src/test/resources/flink-test-config.yaml"
91+ into " ${ project.buildDir} /flink-conf"
92+
93+ // Rename the file during the copy process
94+ rename ' flink-test-config.yaml' , ' config.yaml'
95+ }
96+ }
8797 doLast {
8898 def pipelineOptions = [ // Pipeline options piped directly to Go SDK flags.
8999 " --expansion_jar=test:${ project(":sdks:java:testing:expansion-service").buildTestExpansionServiceJar.archivePath} " ,
Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ if [[ "$RUNNER" == "flink" || "$RUNNER" == "spark" || "$RUNNER" == "samza" || "$
275275 " $JAVA_CMD " \
276276 -jar $FLINK_JOB_SERVER_JAR \
277277 --flink-master [local] \
278- --flink-conf-dir $CURRENT_DIRECTORY /../../../runners/ flink/src/test/resources \
278+ --flink-conf-dir $CURRENT_DIRECTORY /build/ flink-conf/ \
279279 --job-port $JOB_PORT \
280280 --expansion-port 0 \
281281 --artifact-port 0 &
You can’t perform that action at this time.
0 commit comments