Skip to content

Commit 5145511

Browse files
author
Minni Mittal
committed
UT fix
1 parent 9837015 commit 5145511

File tree

1 file changed

+2
-0
lines changed
  • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/api

1 file changed

+2
-0
lines changed

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/api/TestPBImplRecords.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@
127127
import org.apache.hadoop.yarn.api.records.ContainerReport;
128128
import org.apache.hadoop.yarn.api.records.ContainerRetryContext;
129129
import org.apache.hadoop.yarn.api.records.ContainerStatus;
130+
import org.apache.hadoop.yarn.api.records.EnhancedHeadroom;
130131
import org.apache.hadoop.yarn.api.records.ExecutionTypeRequest;
131132
import org.apache.hadoop.yarn.api.records.LocalResource;
132133
import org.apache.hadoop.yarn.api.records.LogAggregationContext;
@@ -430,6 +431,7 @@ public static void setup() throws Exception {
430431
generateByNewInstance(UpdatedContainer.class);
431432
generateByNewInstance(ContainerUpdateRequest.class);
432433
generateByNewInstance(ContainerUpdateResponse.class);
434+
generateByNewInstance(EnhancedHeadroom.class);
433435
// genByNewInstance does not apply to QueueInfo, cause
434436
// it is recursive(has sub queues)
435437
typeValueCache.put(QueueInfo.class, QueueInfo.

0 commit comments

Comments
 (0)