TestNodeLabelContainerAllocation

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total9,393 of 9,3930%80 of 800%79791,9931,9933939
testQueueMetricsWithLabelsOnDefaultLabelNode()1,0980%160%9921221211
testQueueUsedCapacitiesUpdate()9140%n/a1114814811
testTwoLevelQueueMetricsWithLabels()5970%40%3314414411
testOrderOfAllocationOnPartitions()5620%n/a1112412411
testPreferenceOfQueuesTowardsNodePartitions()5140%20%2211711711
testQueueMetricsWithLabelsDisableElasticity()4720%n/a1111311311
testContainerReservationContinueLookingWithLabels()4250%60%44929211
testContainerReservationContinueLookingWithDefaultLabels()4230%60%44919111
testQueueMetricsWithMixedLabels()3560%40%33828211
testResourceRequestUpdateNodePartitions()3360%n/a11545411
testQueueMetricsWithLabels()3290%20%22717111
testParentQueueMaxCapsAreRespected()2960%n/a11626211
testContainerAllocateWithComplexLabels()2900%n/a11636311
testContainerAllocateWithLabels()2390%n/a11575711
testQueueMaxCapacitiesWillNotBeHonoredWhenNotRespectingExclusivity()2370%20%22484811
testContainerAllocateWithDefaultQueueLabels()2360%n/a11575711
testContainerReservationWithLabels()2310%20%22494911
testQueuesWithoutAccessUsingPartitionedNodes()2070%40%33434311
testRMContainerLeakInLeafQueue()2000%n/a11484811
testOrderOfAllocationOnPartitionsWhenAccessibilityIsAll()1940%n/a11454511
testPreferenceOfNeedyAppsTowardsNodePartitions()1920%20%22444411
getConfigurationWithQueueLabels(Configuration)1700%n/a11292911
testContainerAllocationWithSingleUserLimits()1660%20%22363611
testAMContainerAllocationWillAlwaysBeExclusive()1350%20%22313111
testPreferenceOfNeedyPrioritiesUnderSameAppTowardsNodePartitions()1280%n/a11272711
testNonLabeledResourceRequestGetPreferrenceToNonLabeledNode()1280%20%22272711
static {...}560%n/a11111111
checkTaskContainersHost(ApplicationAttemptId, ContainerId, ResourceManager, String)390%60%448811
checkNodePartitionOfRequestedPriority(AppSchedulingInfo, int, String)320%40%337711
checkQueueUsedCapacity(String, CapacityScheduler, String, float, float)310%n/a118811
checkPendingResource(MockRM, int, ApplicationAttemptId, int)270%n/a119911
checkNumOfContainersInAnAppOnGivenNode(int, NodeId, FiCaSchedulerApp)260%40%337711
doNMHeartbeat(MockRM, NodeId, int)250%20%225511
setUp()220%n/a115511
waitSchedulerNodeHasUpdatedLabels(CapacityScheduler, MockNM, String)190%40%336611
checkLaunchedContainerNumOnNode(MockRM, NodeId, int)160%n/a114411
waitSchedulerNodeJoined(MockRM, int)140%40%335511
TestNodeLabelContainerAllocation()0%n/a112211
toSet(Object[])0%n/a112211