nastra commented on code in PR #6001:
URL: https://github.com/apache/iceberg/pull/6001#discussion_r997870716
##########
flink/v1.14/build.gradle:
##########
@@ -174,6 +232,16 @@
project(":iceberg-flink:iceberg-flink-runtime-${flinkMajorVersion}") {
classifier null
}
+ task integrationTest(type: Test) {
+ description = "Test Flink Runtime Jar against Flink ${flinkMajorVersion}"
+ group = "verification"
+ testClassesDirs = sourceSets.integration.output.classesDirs
+ classpath = sourceSets.integration.runtimeClasspath +
files(shadowJar.archiveFile.get().asFile.path)
+ inputs.file(shadowJar.archiveFile.get().asFile.path)
+ }
+ integrationTest.dependsOn shadowJar
+ check.dependsOn integrationTest
Review Comment:
the integration test takes < 20 seconds in total, so it should be ok to run
this as part of normal CI when the `check` task is running
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]