TestAbstractYarnScheduler

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total3,628 of 3,6280%58 of 580%61618888883232
testContainerReleasedByNode(ParameterizedSchedulerTestBase.SchedulerType)3140%120%77838311
testContainerReleaseWithAllocationTags(ParameterizedSchedulerTestBase.SchedulerType)2720%40%33737311
testResourceRequestRecoveryToTheRightAppAttempt(ParameterizedSchedulerTestBase.SchedulerType)2460%80%55767611
testResourceRequestRestoreWhenRMContainerIsAtAllocated(ParameterizedSchedulerTestBase.SchedulerType)2240%40%33626211
testNodeRemovedWithAllocationTags(ParameterizedSchedulerTestBase.SchedulerType)2160%40%33646411
testAutoCorrectContainerAllocation(ParameterizedSchedulerTestBase.SchedulerType)2050%n/a11454511
testContainerAskFourAndNewlyAllocatedContainerEight(AbstractYarnScheduler, SchedulerApplicationAttempt, SchedulerNode, NodeId, Priority, ApplicationAttemptId)1970%20%22353511
testGetRunningContainersToKill(ParameterizedSchedulerTestBase.SchedulerType)1800%n/a11262611
testContainerRecoveredByNode(ParameterizedSchedulerTestBase.SchedulerType)1550%20%22515111
testMaximumAllocationMemoryHelper(YarnScheduler, int, int, int, int[])1500%n/a11333311
testMaximumAllocationVCoresHelper(YarnScheduler, int, int, int, int[])1470%n/a11333311
testContainerAskFourAndNewlyAllocatedContainerSix(AbstractYarnScheduler, SchedulerApplicationAttempt, SchedulerNode, NodeId, Priority, ApplicationAttemptId)1420%20%22252511
testUpdateMaxAllocationUsesTotal(ParameterizedSchedulerTestBase.SchedulerType)1400%n/a11353511
testMaxAllocationAfterUpdateNodeResource(ParameterizedSchedulerTestBase.SchedulerType)1280%n/a11333311
testNodemanagerReconnect(ParameterizedSchedulerTestBase.SchedulerType)1130%n/a11393911
testMaximimumAllocationMemory(ParameterizedSchedulerTestBase.SchedulerType)1110%n/a11202011
testMaximimumAllocationVCores(ParameterizedSchedulerTestBase.SchedulerType)1110%n/a11202011
testReleasedContainerIfAppAttemptisNull(ParameterizedSchedulerTestBase.SchedulerType)980%20%22282811
getPrivateResourceTrackerService(Dispatcher, ResourceManager, TestAbstractYarnScheduler.SleepHandler)970%n/a11232311
createMockRMContainer(int, NodeId, ApplicationAttemptId, long, int, Priority, ExecutionType)800%n/a11131311
testUpdateThreadLifeCycle(ParameterizedSchedulerTestBase.SchedulerType)620%80%55181811
testContainerAskAndNewlyAllocatedContainerOne(AbstractYarnScheduler, SchedulerApplicationAttempt, SchedulerNode, NodeId, Priority, ApplicationAttemptId)490%n/a11101011
testContainerAskZeroAndNewlyAllocatedContainerOne(AbstractYarnScheduler, SchedulerApplicationAttempt, SchedulerNode, NodeId, Priority, ApplicationAttemptId)460%n/a11101011
newMockRMContainer(boolean, ExecutionType, String)450%20%229911
testContainerAskAndNewlyAllocatedContainerZero(AbstractYarnScheduler, SchedulerApplicationAttempt, Priority)350%n/a118811
lambda$testContainerReleaseWithAllocationTags$1(MockRM, MockNM)230%40%335511
verifyMaximumResourceCapability(Resource, YarnScheduler)140%n/a117711
lambda$testNodeRemovedWithAllocationTags$2(Container)90%20%221111
lambda$testContainerReleaseWithAllocationTags$0(Container)90%20%221111
initTestAbstractYarnScheduler(ParameterizedSchedulerTestBase.SchedulerType)40%n/a112211
TestAbstractYarnScheduler()30%n/a111111
static {...}30%n/a111111