TestFairScheduler

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total15,094 of 15,0940%80 of 800%1671673,4073,407127127
testQueueMaxAMShareWithContainerReservation()7250%n/a1115015011
testQueueMaxAMShare()6660%n/a1113413411
testQueueMaxAMShareDefault()4040%20%22868611
testRackLocalAppReservationThreshold()3710%n/a11737311
testComputeMaxAMResource()3040%n/a11838311
testDecreaseQueueSettingOnTheFlyInternal(AllocationFileWriter, AllocationFileWriter)2690%n/a11535311
testOffSwitchAppReservationThreshold()2620%n/a11555511
testQueueDemandCalculation()2490%n/a11414111
testChildMaxResources()2480%n/a11606011
testQueueNameWithTrailingSpace()2370%n/a11545411
testContainerAllocationWithContainerIdLeap()2330%60%44484811
testMaxRunningAppsHierarchicalQueues()2260%n/a11525211
testSteadyFairShareWithReloadAndNodeAddRemove()2230%n/a11595911
testContainerReservationNotExceedingQueueMax()2190%n/a11535311
testMultipleNodesSingleRackRequest()2190%n/a11383811
testIncreaseQueueSettingOnTheFlyInternal(AllocationFileWriter, AllocationFileWriter)2170%n/a11434311
testDRFHierarchicalQueues()2100%n/a11434311
testAssignContainer()2090%60%44464611
testRequestAMResourceInZeroFairShareQueue()2050%n/a11515111
testNotAllowSubmitApplication()1960%80%55535311
testReservationThresholdGatesReservations()1940%n/a11464611
testSimpleHierarchicalFairShareCalculation()1910%n/a11343411
testQueueInfo()1840%n/a11474711
testCancelStrictLocality()1790%20%22303011
testAMStrictLocality(boolean, boolean)1790%140%88373711
testResourceUpdateDecommissioningNode()1760%n/a11393911
testFairShareAndWeightsInNestedUserQueueRule()1700%60%44383811
testBlacklistNodes()1700%n/a11383811
testRefreshQueuesWhenRMHA()1660%n/a11474711
testCompletedContainerOnRemovedNode()1630%n/a11333311
testFairShareWithLowMaxResources()1620%n/a11393911
testHostPortNodeName()1540%20%22313111
testRestoreToExistingQueue()1520%n/a11363611
testLoadConfigurationOnInitialize()1500%n/a11292911
testSimpleContainerAllocation()1460%n/a11333311
testSimpleContainerReservation()1460%n/a11313111
testUserAndQueueMaxRunningApps()1450%n/a11323211
testReservationWithMultiplePriorities()1430%n/a11292911
testStrictLocality()1420%20%22272711
testUserAsDefaultQueueWithLeadingTrailingSpaceUserName()1420%n/a11292911
testResourceUsageByMoveApp()1410%n/a11272711
testBasicDRFWithQueues()1400%n/a11272711
testContainerReservationAttemptExceedingQueueMax()1370%n/a11333311
testQueueuNameWithPeriods()1360%n/a11262611
testReservationMetrics()1340%n/a11313111
testGetAppsInQueue()1290%n/a11282811
testUpdateDemand()1280%40%33272711
testSchedulingOnRemovedNode()1270%20%22252511
testSteadyFairShareWithQueueCreatedRuntime()1240%n/a11303011
testReservationsStrictLocality()1240%n/a11282811
testBasicDRFAssignment()1240%n/a11252511
testFifoWithinQueue()1200%n/a11252511
testUserMaxRunningApps()1190%n/a11262611
testMultipleCompletedEvent()1190%n/a11303011
testDumpState()1190%n/a11313111
testQueueMaximumCapacityAllocations()1160%n/a11353511
testDoubleRemoval()1160%n/a11272711
testFairShareWithMinAlloc()1130%60%44272711
testAppRejectedToQueueWithZeroCapacityOfResource(String)1130%n/a11262611
testReservationThresholdWithAssignMultiple()1110%n/a11242411
testSchedulerRootQueueMetrics()1090%n/a11232311
testRemoveNodeUpdatesRootQueueMetrics()1090%n/a11212111
testSimpleFairShareCalculation()1070%20%22232311
testSchedulingRejectedToQueueZeroCapacityOfResource(String, Collection)1070%n/a11272711
lambda$testMoveAfterRemoval$3()1050%n/a11242411
testDynamicMaxAssign()1040%n/a11242411
testFairShareWithHighMaxResources()1030%n/a11262611
testFairShareWithZeroWeightNoneZeroMinRes()1010%n/a11262611
testFairShareWithNoneZeroWeightNoneZeroMinRes()1010%n/a11262611
testMaxAssignWithZeroMemoryContainers()1010%n/a11232311
testConfigureRootQueue()980%n/a11292911
testFairShareWithZeroWeight()970%n/a11222211
testFixedMaxAssign()950%n/a11222211
testRestoreToParentQueue()940%n/a11252511
testLowestCommonAncestorDeeperHierarchy()930%n/a11191911
testMultipleContainersWaitingForReservation()890%n/a11202011
lambda$testMoveWouldViolateMaxResourcesConstraints$1()880%n/a11191911
testHierarchicalQueueAllocationFileParsing()870%n/a11232311
testNormalizationUsingQueueMaximumAllocation()800%n/a11202011
testHierarchicalQueuesSimilarParents()770%n/a11191911
testAggregateCapacityTracking()760%n/a11171711
testAclSubmitApplication()750%n/a11212111
testNoMoreCpuOnNode()730%n/a11151511
testRemovedNodeDecomissioningNode()670%n/a11151511
testLowestCommonAncestorForNonRootParent()610%n/a11151511
testLowestCommonAncestorRootParent()610%n/a11151511
testEmptyQueueName()600%n/a11121211
allocateAppAttempt(String, int, int)590%n/a11111111
testNonMinZeroResourcesSettings()570%n/a11131311
testMinZeroResourcesSettings()570%n/a11131311
testDefaultRuleInitializesProperlyWhenPolicyNotConfigured()560%40%33151511
testConfValidation()550%n/a11171711
testIncreaseUserMaxRunningAppsOnTheFly()530%n/a11181811
testDecreaseUserMaxRunningAppsOnTheFly()530%n/a11181811
testSchedulingAllowedToQueueZeroCapacityOfResource(String, int, int)490%n/a11101011
lambda$testMoveWouldViolateMaxAppsConstraints$0()440%n/a11101011
setUp()410%n/a119911
generateAllocationFileWithZeroResource(String)410%40%33171711
lambda$testMoveToNonexistentQueue$2()390%n/a118811
testIncreaseQueueMaxRunningAppsOnTheFly()370%n/a11141411
testDecreaseQueueMaxRunningAppsOnTheFly()370%n/a11141411
registerNode(String, int, int, String, Resource, NodeStatus)350%n/a118811
generateAllocationFilePercentageResource()340%n/a11151511
testSchedulingRejectedToQueueWithZeroCapacityOfMemory()330%n/a117711
testSchedulingRejectedToQueueWithZeroCapacityOfVcores()330%n/a117711
testEmptyQueueNameInConfigFile()300%n/a11101011
verifyAppRunnable(ApplicationAttemptId, boolean)270%20%225511
testPerfMetricsInited()250%n/a116611
tearDown()220%40%33101011
verifyQueueNumRunnable(String, int, int)160%n/a114411
testAddAndRemoveAppFromFairScheduler()120%n/a115511
drainEventsOnRM()90%20%223311
lambda$testAppRejectedToQueueWithZeroCapacityOfResource$4(List, Event)80%20%223311
static {...}80%n/a112211
TestFairScheduler()0%n/a112211
testMoveWouldViolateMaxAppsConstraints()0%n/a112211
testMoveWouldViolateMaxResourcesConstraints()0%n/a112211
testMoveToNonexistentQueue()0%n/a112211
testMoveAfterRemoval()0%n/a112211
testSchedulingAllowedToQueueWithZeroCapacityOfMemory()0%n/a112211
testSchedulingAllowedToQueueWithZeroCapacityOfVcores()0%n/a112211
testAMStrictLocalityRack()0%n/a112211
testAMStrictLocalityNode()0%n/a112211
testAMStrictLocalityRackInvalid()0%n/a112211
testAMStrictLocalityNodeInvalid()0%n/a112211
testAppRejectedToQueueWithZeroCapacityOfVcores()0%n/a112211
testAppRejectedToQueueWithZeroCapacityOfMemory()0%n/a112211