[
https://issues.apache.org/jira/browse/YARN-10962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shilun Fan updated YARN-10962:
------------------------------
Component/s: capacity scheduler
test
> Do not extend from CapacitySchedulerTestBase when not needed
> ------------------------------------------------------------
>
> Key: YARN-10962
> URL: https://issues.apache.org/jira/browse/YARN-10962
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: capacity scheduler, test
> Affects Versions: 3.4.0
> Reporter: Tamas Domok
> Assignee: Tamas Domok
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.4.0
>
> Time Spent: 4h 10m
> Remaining Estimate: 0h
>
> The following classes extends CapacitySchedulerTestBase, but it is
> unnecessary.
> - TestCapacitySchedulerMultiNodes
> - TestCapacitySchedulerMultiNodesWithPreemption
> - TestCapacitySchedulerSchedulingRequestUpdate
> - TestCapacitySchedulerWorkflowPriorityMapping
> The helper methods could be static, so inheritance is not needed here.
>
> Later the TestCapacityScheduler can be split by features, where the
> CapacitySchedulerTestBase will come handy.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]