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

ASF GitHub Bot commented on FLINK-7909:
---------------------------------------

Github user zentol commented on the issue:

    https://github.com/apache/flink/pull/4896
  
    Doesn't compile:
    ```[INFO] flink-hadoop-compatibility ......................... FAILURE [  
5.449 s]
    [INFO] flink-avro ......................................... SKIPPED
    [INFO] flink-tests ........................................ SKIPPED
    [INFO] flink-streaming-scala .............................. SKIPPED
    [INFO] flink-scala-shell .................................. SKIPPED
    [INFO] 
------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] 
------------------------------------------------------------------------
    [INFO] Total time: 03:32 min
    [INFO] Finished at: 2017-10-24T23:22:39+00:00
    [INFO] Final Memory: 144M/870M
    [INFO] 
------------------------------------------------------------------------
    [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile 
(default-testCompile) on project flink-hadoop-compatibility_2.11: Compilation 
failure: Compilation failure:
    [ERROR] 
/home/travis/build/apache/flink/flink-connectors/flink-hadoop-compatibility/src/test/java/org/apache/flink/test/hadoopcompatibility/mapreduce/HadoopInputOutputITCase.java:[49,21]
 cannot find symbol
    [ERROR] symbol: method setParallelism(int)
    [ERROR] 
/home/travis/build/apache/flink/flink-connectors/flink-hadoop-compatibility/src/test/java/org/apache/flink/test/hadoopcompatibility/mapred/HadoopIOFormatsITCase.java:[61,33]
 cannot find symbol
    [ERROR] symbol:   variable config
    [ERROR] location: class 
org.apache.flink.test.hadoopcompatibility.mapred.HadoopIOFormatsITCase
    [ERROR] 
/home/travis/build/apache/flink/flink-connectors/flink-hadoop-compatibility/src/test/java/org/apache/flink/test/hadoopcompatibility/mapred/HadoopIOFormatsITCase.java:[68,17]
 constructor JavaProgramTestBase in class 
org.apache.flink.test.util.JavaProgramTestBase cannot be applied to given types;
    [ERROR] required: no arguments
    [ERROR] found: org.apache.flink.configuration.Configuration
    [ERROR] reason: actual and formal argument lists differ in length
    [ERROR] 
/home/travis/build/apache/flink/flink-connectors/flink-hadoop-compatibility/src/test/java/org/apache/flink/test/hadoopcompatibility/mapred/HadoopMapredITCase.java:[47,21]
 cannot find symbol
    [ERROR] symbol: method setParallelism(int)
    ```


> Unify cluster creation for test bases
> -------------------------------------
>
>                 Key: FLINK-7909
>                 URL: https://issues.apache.org/jira/browse/FLINK-7909
>             Project: Flink
>          Issue Type: Improvement
>          Components: Tests
>    Affects Versions: 1.4.0
>            Reporter: Till Rohrmann
>            Assignee: Till Rohrmann
>
> Flink contains different test bases, e.g. {{AbstractTestBase}}, 
> {{MultipleProgramsTestBase}}, {{JavaProgramTestBase}} and the 
> {{StreamingMultipleProgramsTestBase}}. Some of them start resources 
> ({{FlinkMiniCluster}}) automatically, while others expose a start method. 
> Some test bases set the {{ExecutionEnvironment}} while others use the 
> {{FlinkMiniCluster}} directly. In order to make things more maintainable I 
> propose to unify these test bases a bit and introduce an {{ExternalResource}} 
> which encapsulates the resource start up and shut down.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to