youngoli commented on a change in pull request #15094:
URL: https://github.com/apache/beam/pull/15094#discussion_r711422511
##########
File path: sdks/go/test/build.gradle
##########
@@ -166,3 +174,33 @@ task ulrValidatesRunner {
}
}
}
+
+// A method for configuring a cross-language validates runner test task,
+// intended to be used in calls to createCrossLanguageValidatesRunnerTask.
+ext.goIoValidatesRunnerTask = { proj, name, scriptOpts ->
+ return proj.tasks.create(name: name) {
+ group = "Verification"
+
+ dependsOn ":sdks:go:test:goBuild"
+ dependsOn ":sdks:go:container:docker"
+ dependsOn ":sdks:java:container:java11:docker"
+ dependsOn
":sdks:java:testing:expansion-service:buildTestExpansionServiceJar"
+ dependsOn ":sdks:java:io:expansion-service:build"
Review comment:
I was pretty sure it required `shadowJar`, but I tried `jar` again just
to be sure. I got this error in my command line shortly after starting the
expansion service jar, followed by it crashing: `no main manifest attribute, in
[...]/beam-sdks-java-io-expansion-service-2.33.0-SNAPSHOT-unshaded.jar`
This might be fixable, but I'll just stick with a shaded jar for now.
--
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]