TestAbstractYarnScheduler

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total3,641 of 3,6410%58 of 580%60608768763131
testContainerReleasedByNode()3110%120%77848411
testContainerReleaseWithAllocationTags()2730%40%33727211
testResourceRequestRecoveryToTheRightAppAttempt()2470%80%55757511
testResourceRequestRestoreWhenRMContainerIsAtAllocated()2210%40%33616111
testNodeRemovedWithAllocationTags()2160%40%33636311
testAutoCorrectContainerAllocation()2020%n/a11444411
testContainerAskFourAndNewlyAllocatedContainerEight(AbstractYarnScheduler, SchedulerApplicationAttempt, SchedulerNode, NodeId, Priority, ApplicationAttemptId)1990%20%22353511
testGetRunningContainersToKill()1770%n/a11252511
testMaximumAllocationVCoresHelper(YarnScheduler, int, int, int, int[])1670%n/a11333311
testMaximumAllocationMemoryHelper(YarnScheduler, int, int, int, int[])1580%n/a11333311
testContainerRecoveredByNode()1520%20%22505011
testContainerAskFourAndNewlyAllocatedContainerSix(AbstractYarnScheduler, SchedulerApplicationAttempt, SchedulerNode, NodeId, Priority, ApplicationAttemptId)1440%20%22252511
testUpdateMaxAllocationUsesTotal()1370%n/a11343411
testMaxAllocationAfterUpdateNodeResource()1250%n/a11323211
testNodemanagerReconnect()1110%n/a11393911
testMaximimumAllocationMemory()1080%n/a11191911
testMaximimumAllocationVCores()1080%n/a11191911
getPrivateResourceTrackerService(Dispatcher, ResourceManager, TestAbstractYarnScheduler.SleepHandler)970%n/a11232311
testReleasedContainerIfAppAttemptisNull()960%20%22282811
createMockRMContainer(int, NodeId, ApplicationAttemptId, long, int, Priority, ExecutionType)800%n/a11131311
testUpdateThreadLifeCycle()670%80%55171711
testContainerAskAndNewlyAllocatedContainerOne(AbstractYarnScheduler, SchedulerApplicationAttempt, SchedulerNode, NodeId, Priority, ApplicationAttemptId)510%n/a11101011
testContainerAskZeroAndNewlyAllocatedContainerOne(AbstractYarnScheduler, SchedulerApplicationAttempt, SchedulerNode, NodeId, Priority, ApplicationAttemptId)480%n/a11101011
newMockRMContainer(boolean, ExecutionType, String)450%20%229911
testContainerAskAndNewlyAllocatedContainerZero(AbstractYarnScheduler, SchedulerApplicationAttempt, Priority)370%n/a118811
lambda$testContainerReleaseWithAllocationTags$1(MockRM, MockNM)230%40%335511
verifyMaximumResourceCapability(Resource, YarnScheduler)160%n/a117711
lambda$testNodeRemovedWithAllocationTags$2(Container)90%20%221111
lambda$testContainerReleaseWithAllocationTags$0(Container)90%20%221111
TestAbstractYarnScheduler(ParameterizedSchedulerTestBase.SchedulerType)40%n/a112211
static {...}30%n/a111111