Kante Yin
febf95cc43
Stop Cache in scheduler when test tears down
...
Signed-off-by: Kante Yin <kerthcet@gmail.com>
2022-12-22 15:38:38 +08:00
Sathyanarayanan Saravanamuthu
bf4f907bfa
Improving schedule extender test coverage
...
Signed-off-by: Sathyanarayanan Saravanamuthu <sathyanarays@vmware.com>
2022-12-05 12:10:10 +05:30
kerthcet
127178661d
Remove newScheduler to simplify instantiation
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-10-10 10:25:37 +08:00
kerthcet
97e3e50493
Remove potential goroutine leak in NewFramework
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-08-06 00:05:22 +08:00
Wei Huang
4f77732540
merge MakeDefaultErrorFunc into handleSchedulingFailure
2022-07-12 12:11:16 -07:00
Yibo Zhuang
fd08d47d8b
cleanup: move scheduler tests to use PodWrapper
...
Move to use testing PodWrapper where applicable to
reduce duplicating pod creation code and shorten
number of lines.
Adding additional wrapper functions in PodWrapper
to ensure it covers all pod spec under tests.
Signed-off-by: Yibo Zhuang <yibzhuang@gmail.com>
2022-05-05 10:48:26 -07:00
Ruquan Zhao
f1a5b6ca06
Remove genericScheduler and SchedulerAlgorithm.
...
Signed-off-by: Ruquan Zhao <ruquan.zhao@arm.com>
2022-03-04 13:26:46 +08:00
sanposhiho
0b16a7fefa
Support ExtenderName in FakeExtender
2022-02-23 12:14:39 +09:00
caden
f84c07e8f4
restore NumPDBViolations info of nodes, when HTTPExtender ProcessPreemption. This info will be used in subsequent filtering steps - pick OneNodeForPreemption.
...
add unit tests for HTTPExtender.ProcessPreemption - make sure the NumPDBViolations info of node is return as it is.
2022-01-10 13:37:46 +08:00
Jerry-Ge
f1f0183d2b
refactored extenders from scheduler/core to scheduler
...
Signed-off-by: Jerry Ge jerry.ge@arm.com
2021-07-05 15:37:51 +08:00