TisonKun commented on a change in pull request #10074: [FLINK-14499][Runtime / 
Metrics]MetricRegistry#getMetricQueryServiceGatewayRpcAddress is Nonnull
URL: https://github.com/apache/flink/pull/10074#discussion_r343416328
 
 

 ##########
 File path: 
flink-runtime/src/test/java/org/apache/flink/runtime/taskexecutor/TaskExecutorSubmissionTest.java
 ##########
 @@ -141,13 +155,15 @@ public void testSubmitTaskFailure() throws Exception {
 
                try (TaskSubmissionTestEnvironment env =
                        new TaskSubmissionTestEnvironment.Builder(jobId)
+                               
.setMetricQueryServiceAddress(metricQueryServiceAddress)
                                .build()) {
                        TaskExecutorGateway tmGateway = 
env.getTaskExecutorGateway();
                        TaskSlotTable taskSlotTable = env.getTaskSlotTable();
 
                        taskSlotTable.allocateSlot(0, jobId, 
tdd.getAllocationId(), Time.seconds(60));
                        tmGateway.submitTask(tdd, env.getJobMasterId(), 
timeout).get();
                } catch (Exception e) {
+                       e.printStackTrace();
 
 Review comment:
   we don't need this line, indeed.

----------------------------------------------------------------
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