TestNodeLabelContainerAllocation

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total9,337 of 9,3370%80 of 800%79791,9901,9903939
testQueueMetricsWithLabelsOnDefaultLabelNode()1,0950%160%9921221211
testQueueUsedCapacitiesUpdate()9140%n/a1114814811
testTwoLevelQueueMetricsWithLabels()5950%40%3314414411
testOrderOfAllocationOnPartitions()5620%n/a1112412411
testPreferenceOfQueuesTowardsNodePartitions()5140%20%2211711711
testQueueMetricsWithLabelsDisableElasticity()4720%n/a1111311311
testContainerReservationContinueLookingWithLabels()4180%60%44929211
testContainerReservationContinueLookingWithDefaultLabels()4160%60%44919111
testQueueMetricsWithMixedLabels()3540%40%33828211
testResourceRequestUpdateNodePartitions()3360%n/a11545411
testQueueMetricsWithLabels()3280%20%22717111
testParentQueueMaxCapsAreRespected()2960%n/a11626211
testContainerAllocateWithComplexLabels()2900%n/a11636311
testContainerAllocateWithLabels()2390%n/a11575711
testContainerAllocateWithDefaultQueueLabels()2360%n/a11575711
testQueueMaxCapacitiesWillNotBeHonoredWhenNotRespectingExclusivity()2350%20%22484811
testContainerReservationWithLabels()2300%20%22494911
testQueuesWithoutAccessUsingPartitionedNodes()2060%40%33434311
testRMContainerLeakInLeafQueue()1950%n/a11484811
testOrderOfAllocationOnPartitionsWhenAccessibilityIsAll()1940%n/a11454511
testPreferenceOfNeedyAppsTowardsNodePartitions()1920%20%22444411
getConfigurationWithQueueLabels(Configuration)1700%n/a11292911
testContainerAllocationWithSingleUserLimits()1660%20%22363611
testPreferenceOfNeedyPrioritiesUnderSameAppTowardsNodePartitions()1280%n/a11272711
testNonLabeledResourceRequestGetPreferrenceToNonLabeledNode()1280%20%22272711
testAMContainerAllocationWillAlwaysBeExclusive()1260%20%22292911
static {...}560%n/a11111111
checkTaskContainersHost(ApplicationAttemptId, ContainerId, ResourceManager, String)390%60%448811
checkPendingResource(MockRM, int, ApplicationAttemptId, int)270%n/a119911
checkNodePartitionOfRequestedPriority(AppSchedulingInfo, int, String)260%40%336611
checkQueueUsedCapacity(String, CapacityScheduler, String, float, float)250%n/a118811
doNMHeartbeat(MockRM, NodeId, int)250%20%225511
checkNumOfContainersInAnAppOnGivenNode(int, NodeId, FiCaSchedulerApp)240%40%337711
setUp()220%n/a115511
waitSchedulerNodeHasUpdatedLabels(CapacityScheduler, MockNM, String)190%40%336611
checkLaunchedContainerNumOnNode(MockRM, NodeId, int)140%n/a114411
waitSchedulerNodeJoined(MockRM, int)140%40%335511
TestNodeLabelContainerAllocation()0%n/a112211
toSet(Object[])0%n/a112211