You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
Motivation
Current test cases are mainly located in https://github.com/microsoft/hivedscheduler/blob/v0.3.4/pkg/algorithm/hived_algorithm_test.go . There are a lot of global variables and the code uses a lot of functions to reference them, which causes poor readability.
As we are going to use the v2 schema, old test cases will be out-dated. It is a good time to refactor them.
Proposal
Define a hivedAlgorithmTester interface as follows:
After this tester is implemented, we will be able to express test cases within a yaml file, e.g.
The text was updated successfully, but these errors were encountered: