gaoyunhaii commented on a change in pull request #8704: [FLINK-12812][runtime]
Set resource profiles for task slots
URL: https://github.com/apache/flink/pull/8704#discussion_r294145802
##########
File path:
flink-runtime/src/test/java/org/apache/flink/runtime/taskexecutor/TaskExecutorTest.java
##########
@@ -1673,9 +1681,11 @@ public void testTerminationOnFatalError() throws
Throwable {
@Test(timeout = 10000L)
public void testSyncSlotsWithJobMasterByHeartbeat() throws Exception {
final TaskSlotTable taskSlotTable = new TaskSlotTable(
- Arrays.asList(ResourceProfile.UNKNOWN,
ResourceProfile.UNKNOWN),
- timerService);
- final TaskManagerServices taskManagerServices = new
TaskManagerServicesBuilder().setTaskSlotTable(taskSlotTable).build();
+ Arrays.asList(ResourceProfile.UNKNOWN,
ResourceProfile.UNKNOWN),
+ timerService);
+ final TaskManagerServices taskManagerServices = new
TaskManagerServicesBuilder().setTaskSlotTable(taskSlotTable)
+
Review comment:
Remove this empty line.
----------------------------------------------------------------
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