Abacn commented on code in PR #38478:
URL: https://github.com/apache/beam/pull/38478#discussion_r3235298829
##########
runners/spark/4/build.gradle:
##########
@@ -36,13 +36,23 @@ apply from: "$basePath/spark_runner.gradle"
// Spark 4 always requires Java 17, so unconditionally add the --add-opens
flags
// required by Kryo and other libraries that use reflection on JDK internals.
-test {
+tasks.withType(Test).configureEach {
jvmArgs "--add-opens=java.base/sun.nio.ch=ALL-UNNAMED",
"--add-opens=java.base/java.nio=ALL-UNNAMED",
"--add-opens=java.base/java.util=ALL-UNNAMED",
"--add-opens=java.base/java.lang.invoke=ALL-UNNAMED"
}
+tasks.validatesStructuredStreamingRunnerBatch {
+ filter {
+ // TODO(https://github.com/apache/beam/issues/36841): currently failing
with INTERNAL_ERROR]
+ // Couldn't find method fromByteArray with arguments
+ excludeTestsMatching
'org.apache.beam.sdk.transforms.CombineTest$BasicTests.testHotKeyCombining'
+ }
+}
+
+tasks.validatesRunner.dependsOn(validatesStructuredStreamingRunnerBatch)
Review Comment:
this can be a follow up for Beam repo build.gradle as a whole
--
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]