flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Ewen <se...@apache.org>
Subject Re: Unit testing Flink programs / DataSet operations
Date Wed, 05 Nov 2014 13:25:47 GMT
You can have a look at this example, this grabs the output for verification:

https://github.com/apache/incubator-flink/blob/master/flink-tests/src/test/java/org/apache/flink/test/broadcastvars/BroadcastVarInitializationITCase.java

On Wed, Nov 5, 2014 at 2:13 PM, Viktor Rosenfeld <
viktor.rosenfeld@tu-berlin.de> wrote:

> Hi Stephan,
>
>
> Stephan Ewen wrote
> > Why don't you simply run this program and verify that the result is 6?
>
> You mean verify by hand? I want to automate that.
>
>
> > You can use the "LocalCollectionOutputFormat" to collect the results (in
> > your case the one value) and compare it.
>
> Thanks, that's what I was looking for!
>
> Best,
> Viktor
>
>
>
> --
> View this message in context:
> http://apache-flink-incubator-mailing-list-archive.1008284.n3.nabble.com/Unit-testing-Flink-programs-DataSet-operations-tp2371p2374.html
> Sent from the Apache Flink (Incubator) Mailing List archive. mailing list
> archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message