[
https://issues.apache.org/jira/browse/BEAM-7169?focusedWorklogId=664383&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-664383
]
ASF GitHub Bot logged work on BEAM-7169:
----------------------------------------
Author: ASF GitHub Bot
Created on: 12/Oct/21 23:06
Start Date: 12/Oct/21 23:06
Worklog Time Spent: 10m
Work Description: lukecwik merged pull request #15683:
URL: https://github.com/apache/beam/pull/15683
--
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]
Issue Time Tracking
-------------------
Worklog Id: (was: 664383)
Time Spent: 40m (was: 0.5h)
> Sample in PAssert JavaDoc shows un-known function
> -------------------------------------------------
>
> Key: BEAM-7169
> URL: https://issues.apache.org/jira/browse/BEAM-7169
> Project: Beam
> Issue Type: Bug
> Components: sdk-java-core
> Reporter: Neil Kolban
> Priority: P3
> Labels: Clarified
> Time Spent: 40m
> Remaining Estimate: 0h
>
> If we look at the JavaDoc for PAssert found here
> [https://beam.apache.org/releases/javadoc/2.12.0/index.html?org/apache/beam/sdk/testing/PAssert.html]
>
> We see a sample that reads:
> {{PCollection<Integer>}}
> {{ints = ... }}
> {{PCollection<Integer> sum = ints}}
> {{ .apply(Combine.globally(new SumInts()));}}
> {{ PAssert.that(sum)}}
> {{ .is(42);}}
> My problem / concern with this is the use of the method "is()". This is not
> an exposed function on the class PAssert.IterableAssert. This issue looks
> for examination.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)