You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by twalthr <gi...@git.apache.org> on 2018/01/04 15:37:18 UTC

[GitHub] flink pull request #5068: [FLINK-8122] [table] Name all built-in table sinks...

Github user twalthr commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5068#discussion_r159681109
  
    --- Diff: flink-connectors/flink-connector-kafka-base/src/test/java/org/apache/flink/streaming/connectors/kafka/KafkaTableSinkTestBase.java ---
    @@ -54,6 +57,7 @@
     	@Test
     	public void testKafkaTableSink() throws Exception {
     		DataStream dataStream = mock(DataStream.class);
    +		when(dataStream.addSink(any(SinkFunction.class))).thenReturn(mock(DataStreamSink.class));
    --- End diff --
    
    It fixes the test.


---