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_r385826448
 
 

 ##########
 File path: 
flink-end-to-end-tests/flink-metrics-availability-test/src/test/java/org/pache/flink/metrics/tests/MetricsAvailabilityITCase.java
 ##########
 @@ -91,16 +96,16 @@ public static void shutdownExecutor() {
 
        @Test
        public void testReporter() throws Exception {
-               dist.startFlinkCluster();
+               try (ClusterController cluster = dist.startCluster(1)) {
 
 Review comment:
   ```suggestion
                try (ClusterController ignored = dist.startCluster(1)) {
   ```

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to