ABCDEFGHIJKLMNOPQRSTUVWXY
1
DeclarativeSlotManagerFineGrainedSlotManager
2
moduleTestCasewhether coveredTestCase if have, reason if no need
3
DeclarativeSlotManagertestCloseAfterSuspendDoesNotThrowException()new addedtestCloseAfterSuspendDoesNotThrowException
4
testTaskManagerRegistration()yestestTaskManagerRegistration
5
testTaskManagerUnregistration()yestestTaskManagerUnregistration
6
testRequirementDeclarationWithoutFreeSlotsTriggersWorkerAllocation()yestestRequirementDeclarationWithoutFreeSlotsTriggersWorkerAllocation
7
testRequirementDeclarationWithBlockedSlotsTriggersWorkerAllocation()yestestRequirementDeclarationWithBlockedSlotsTriggersWorkerAllocation
8
testRequirementDeclarationWithResourceAllocationFailure()new addedtestRequirementDeclarationWithResourceAllocationFailure
9
testRequirementDeclarationWithFreeSlot()yestestRequirementDeclarationWithFreeResource
10
testRequirementDeclarationWithPendingSlot()yestestRequirementDeclarationWithPendingResource
11
testFreeSlot()yestestSlotStatusProcessing
12
testDuplicateResourceRequirementDeclarationAfterSuccessfulAllocation()yestestDuplicateResourceRequirementDeclarationAfterSuccessfulAllocation
13
testSlotCanBeAllocatedForDifferentJobAfterFree()yestestResourceCanBeAllocatedForDifferentJobWithDeclarationBeforeSlotFree
14
testReceivingUnknownSlotReport()yestestReceivingUnknownSlotReport
15
testUpdateSlotReport()yestestSlotStatusProcessing
16
testSlotAllocationTimeout()new addedtestSlotRequestTimeout
17
testTaskExecutorSlotAllocationTimeoutHandling()yestestSlotRequestFailure
18
testSlotReportWithConflictingJobIdDuringSlotAllocation()not needdynamic slots always send slot index -1 to TaskExecutor, so there is no conflict
19
testReportAllocatedSlot()yestestTaskManagerRegistrationDeductPendingTaskManager
20
testSlotRequestFailure()yestestSlotRequestFailure
21
testSlotRequestRemovedIfTMReportsAllocation()not needdynamic slots always send slot index -1 to TaskExecutor, so there is no conflict
22
testTaskExecutorFailedHandling()new addedtestTaskManagerUnregisterAfterResourceRequirements
23
testRequestNewResources()yestestRequestNewResources
24
testSpreadOutSlotAllocationStrategy()yestestFulfillRequirementWithRegisteredResourcesEvenly
25
testNotificationAboutNotEnoughResources()yestestNotificationAboutNotEnoughResources
26
testGracePeriodForNotificationAboutNotEnoughResources()yestestGracePeriodForNotificationAboutNotEnoughResources
27
testAllocationUpdatesIgnoredIfTaskExecutorUnregistered()yestestAllocationUpdatesIgnoredIfTaskExecutorUnregistered
28
testAllocationUpdatesIgnoredIfSlotMarkedAsAllocatedAfterSlotReport()yestestAllocationUpdatesIgnoredIfSlotMarkedAsAllocatedAfterSlotReport()
29
testAllocationUpdatesIgnoredIfSlotMarkedAsPendingForOtherJob()new addedtestAllocationUpdatesIgnoredIfSlotFreed
30
testReclaimInactiveSlotsOnClearRequirements()yestestReclaimInactiveSlotsOnClearRequirements()
31
testProcessResourceRequirementsWithDelay()yestestRequirementCheckOnlyTriggeredOnce
32
testClearRequirementsClearsResourceTracker()yestestRegisterPendingResourceAfterClearingRequirement
33
testMetricsUnregisteredWhenSuspending()yestestMetricsUnregisteredWhenSuspending
34
testMetricsUnregisteredWhenClosing()yestestMetricsUnregisteredWhenClosing
35
TaskExecutorManagertestPendingSlotNotFulfilledIfProfilesAreNotExactMatch()yestestTaskManagerRegistrationDeductPendingTaskManager
36
testPendingSlotNotFulfilledByAllocatedSlot()yestestTaskManagerRegistrationDeductPendingTaskManager
37
testTaskManagerTimeoutDoesNotRemoveSlots()yestestTimeoutForUnusedTaskManager
38
testTimeoutForUnusedTaskManager()yestestTimeoutForUnusedTaskManager
39
testWorkerOnlyAllocatedIfRequestedSlotCouldBeFulfilled()yestestWorkerOnlyAllocatedIfRequestedSlotCouldBeFulfilled
40
testMaxSlotLimitAllocateWorker()yestestMaxTotalResourceCpuExceeded
41
testMaxSlotLimitRegisterWorker()yestestMaxTotalResourceCpuExceeded
42
testGetResourceOverview()yestestGetResourceOverview()
43
ResourceManagerResourceManagerTest#slotManagernew addedadd ParameterizedTest for ResourceManagerTest
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100