You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/03/03 09:05:20 UTC

[GitHub] [flink] azagrebin commented on a change in pull request #11240: [FLINK-16190][e2e] Migrate tests to FlinkResource

azagrebin commented on a change in pull request #11240: [FLINK-16190][e2e] Migrate tests to FlinkResource
URL: https://github.com/apache/flink/pull/11240#discussion_r386880001
 
 

 ##########
 File path: flink-end-to-end-tests/flink-end-to-end-tests-common-kafka/src/test/java/org/apache/flink/tests/util/kafka/SQLClientKafkaITCase.java
 ##########
 @@ -76,7 +77,9 @@
 	}
 
 	@Rule
-	public final FlinkResource flink = new LocalStandaloneFlinkResource();
+	public final FlinkResource flink = new LocalStandaloneFlinkResourceFactory()
+		.create(FlinkResourceSetup.builder().build())
+		.get();
 
 Review comment:
   nit: shorthand for `LocalStandaloneFlinkResourceFactory`: `FlinkResource#getLocal`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services