clairemcginty commented on code in PR #30115:
URL: https://github.com/apache/beam/pull/30115#discussion_r1466741928
##########
sdks/java/core/src/test/java/org/apache/beam/sdk/transforms/ParDoTest.java:
##########
@@ -507,6 +507,10 @@ public void populateDisplayData(DisplayData.Builder
builder) {
DisplayDataMatchers.hasValue(fn.getClass().getName()))));
assertThat(displayData, includesDisplayDataFor("fn", fn));
+
+ // Test setting DisplayData through PTransform API
+ parDo.setDisplayData(ImmutableList.of(DisplayData.item("doFnMetadata",
"baz")));
Review Comment:
This test is mostly redundant with `PTransformTest`, I was just checking
that it works with indirect methods of PTransform construction
--
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]