TestFairScheduler

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total15,438 of 15,4380%80 of 800%1631633,5783,578123123
testQueueMaxAMShareWithContainerReservation()7370%n/a1119019011
testQueueMaxAMShare()6820%n/a1118018011
testQueueMaxAMShareDefault()4080%20%2210310311
testRackLocalAppReservationThreshold()3750%n/a11737311
testComputeMaxAMResource()3100%n/a11959511
testDecreaseQueueSettingOnTheFlyInternal(AllocationFileWriter, AllocationFileWriter)2790%n/a11535311
testOffSwitchAppReservationThreshold()2660%n/a11555511
testChildMaxResources()2570%n/a11686811
testQueueDemandCalculation()2490%n/a11414111
testQueueNameWithTrailingSpace()2430%n/a11545411
testContainerAllocationWithContainerIdLeap()2330%60%44484811
testAssignContainer()2270%60%44464611
testMaxRunningAppsHierarchicalQueues()2270%n/a11525211
testIncreaseQueueSettingOnTheFlyInternal(AllocationFileWriter, AllocationFileWriter)2250%n/a11434311
testSteadyFairShareWithReloadAndNodeAddRemove()2230%n/a11595911
testMultipleNodesSingleRackRequest()2210%n/a11383811
testDRFHierarchicalQueues()2200%n/a11434311
testContainerReservationNotExceedingQueueMax()2190%n/a11535311
testRequestAMResourceInZeroFairShareQueue()2080%n/a11545411
testReservationThresholdGatesReservations()1990%n/a11464611
testNotAllowSubmitApplication()1960%80%55545411
testRestoreToExistingQueue()1960%n/a11444411
testSimpleHierarchicalFairShareCalculation()1920%n/a11343411
testAMStrictLocality(boolean, boolean)1850%140%88373711
testQueueInfo()1840%n/a11474711
testCancelStrictLocality()1810%20%22303011
testResourceUpdateDecommissioningNode()1760%n/a11393911
testBlacklistNodes()1720%n/a11404011
testFairShareAndWeightsInNestedUserQueueRule()1700%60%44383811
testRefreshQueuesWhenRMHA()1670%n/a11474711
testFairShareWithLowMaxResources()1640%n/a11434311
testHostPortNodeName()1640%20%22313111
testCompletedContainerOnRemovedNode()1640%n/a11333311
testLoadConfigurationOnInitialize()1520%n/a11303011
testSimpleContainerAllocation()1500%n/a11333311
testUserAsDefaultQueueWithLeadingTrailingSpaceUserName()1480%n/a11292911
testReservationWithMultiplePriorities()1470%n/a11313111
testSimpleContainerReservation()1460%n/a11313111
testStrictLocality()1450%20%22272711
testUserAndQueueMaxRunningApps()1450%n/a11323211
testBasicDRFWithQueues()1440%n/a11272711
testQueueuNameWithPeriods()1430%n/a11262611
testResourceUsageByMoveApp()1410%n/a11272711
testReservationMetrics()1400%n/a11313111
testSchedulingRejectedToQueueZeroCapacityOfResource(String, Collection)1380%n/a11323211
testContainerReservationAttemptExceedingQueueMax()1370%n/a11333311
testGetAppsInQueue()1340%n/a11282811
testDumpState()1340%n/a11333311
testBasicDRFAssignment()1300%n/a11252511
testUpdateDemand()1280%40%33292911
testSchedulingOnRemovedNode()1270%20%22262611
testQueueMaximumCapacityAllocations()1260%n/a11353511
testFifoWithinQueue()1260%n/a11252511
testReservationsStrictLocality()1260%n/a11303011
testSteadyFairShareWithQueueCreatedRuntime()1240%n/a11303011
testUserMaxRunningApps()1220%n/a11262611
testAppRejectedToQueueWithZeroCapacityOfResource(String)1200%n/a11282811
testMultipleCompletedEvent()1190%n/a11303011
testDoubleRemoval()1160%n/a11303011
testRestoreToParentQueue()1160%n/a11292911
testFairShareWithMinAlloc()1140%60%44272711
testRemoveNodeUpdatesRootQueueMetrics()1140%n/a11212111
testReservationThresholdWithAssignMultiple()1120%n/a11242411
testSchedulerRootQueueMetrics()1090%n/a11232311
testSimpleFairShareCalculation()1080%20%22232311
testDynamicMaxAssign()1070%n/a11272711
testMoveAfterRemoval()1050%n/a11262611
testFairShareWithHighMaxResources()1030%n/a11282811
testMaxAssignWithZeroMemoryContainers()1030%n/a11252511
testFairShareWithZeroWeightNoneZeroMinRes()1010%n/a11262611
testFairShareWithNoneZeroWeightNoneZeroMinRes()1010%n/a11262611
testConfigureRootQueue()980%n/a11292911
testFairShareWithZeroWeight()970%n/a11222211
testFixedMaxAssign()970%n/a11242411
testLowestCommonAncestorDeeperHierarchy()930%n/a11191911
testHierarchicalQueueAllocationFileParsing()890%n/a11232311
testMultipleContainersWaitingForReservation()890%n/a11202011
testMoveWouldViolateMaxResourcesConstraints()880%n/a11191911
testNormalizationUsingQueueMaximumAllocation()860%n/a11202011
testHierarchicalQueuesSimilarParents()810%n/a11191911
testAggregateCapacityTracking()760%n/a11171711
testAclSubmitApplication()750%n/a11212111
testNoMoreCpuOnNode()750%n/a11151511
testRemovedNodeDecomissioningNode()670%n/a11151511
testEmptyQueueName()630%n/a11121211
testLowestCommonAncestorForNonRootParent()610%n/a11151511
testLowestCommonAncestorRootParent()610%n/a11151511
testNonMinZeroResourcesSettings()590%n/a11131311
testMinZeroResourcesSettings()590%n/a11131311
allocateAppAttempt(String, int, int)590%n/a11111111
testDefaultRuleInitializesProperlyWhenPolicyNotConfigured()560%40%33151511
testConfValidation()530%n/a11191911
testIncreaseUserMaxRunningAppsOnTheFly()530%n/a11181811
testDecreaseUserMaxRunningAppsOnTheFly()530%n/a11181811
testSchedulingAllowedToQueueZeroCapacityOfResource(String, int, int)490%n/a11101011
testMoveWouldViolateMaxAppsConstraints()440%n/a11101011
setUp()410%n/a119911
generateAllocationFileWithZeroResource(String)410%40%33171711
testMoveToNonexistentQueue()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()290%n/a11101011
verifyAppRunnable(ApplicationAttemptId, boolean)270%20%225511
testPerfMetricsInited()260%n/a117711
tearDown()220%40%33101011
verifyQueueNumRunnable(String, int, int)200%n/a114411
testAddAndRemoveAppFromFairScheduler()120%n/a115511
drainEventsOnRM()90%20%223311
lambda$testAppRejectedToQueueWithZeroCapacityOfResource$0(List, Event)80%20%223311
static {...}80%n/a112211
TestFairScheduler()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