You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aljoscha Krettek (JIRA)" <ji...@apache.org> on 2016/08/26 14:42:20 UTC

[jira] [Commented] (FLINK-4508) Consolidate DummyEnvironment and MockEnvironment for Tests

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

Aljoscha Krettek commented on FLINK-4508:
-----------------------------------------

Plus there's custom-mocked Environments in some tests.

And we should probably use the builder pattern for constructing the mock since there are so many parameters already.

> Consolidate DummyEnvironment and MockEnvironment for Tests
> ----------------------------------------------------------
>
>                 Key: FLINK-4508
>                 URL: https://issues.apache.org/jira/browse/FLINK-4508
>             Project: Flink
>          Issue Type: Test
>            Reporter: Stefan Richter
>            Priority: Minor
>
> Currently we {{DummyEnvironment}} and {{MockEnvironment}} as implementations of Environments for our test. Both serve a similar purpose, but offer slightly different features. We should consolidate this by merging them into one class that offers the best of both previous implementations.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)