[ 
https://issues.apache.org/jira/browse/BEAM-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17139855#comment-17139855
 ] 

Beam JIRA Bot commented on BEAM-546:
------------------------------------

This issue was marked "stale-assigned" and has not received a public comment in 
7 days. It is now automatically unassigned. If you are still working on it, you 
can assign it to yourself again. Please also give an update about the status of 
the work.

> Aggregator Verifier and Integrate to E2E Test Framework
> -------------------------------------------------------
>
>                 Key: BEAM-546
>                 URL: https://issues.apache.org/jira/browse/BEAM-546
>             Project: Beam
>          Issue Type: Task
>          Components: testing
>            Reporter: Mark Liu
>            Priority: P3
>
> Create a matcher to verify the value of 
> [Aggregator|https://github.com/apache/incubator-beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/Aggregator.java],
>  which is 
> [AggregatorValues|https://github.com/apache/incubator-beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/AggregatorValues.java],
>  by given expected values.
> For example:
> {code}
> MyFnWithAggregator fn = new MyFnWithAggregator();
> Pipeline p = ... (setup the pipeline, use fn) ...
> p.run();
> assertThat(pResult, isAggregatorValue(values, fn.aggregator));
> {code}
> It also should be integrated in E2E pipeline test and used by setting 
> onSuccessMatcher.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to