In this commit we add several unit tests that covers some managers.
We chose to write unit tests for managers that are closest to Synergy
core functionalities in a first stage.
Also, we test only method specific to each manager as the base methods
of Manager class have been tested in Synergy.
Managers with unit tests:
- FairShareManager
- QueueManager
- QuotaManager (and DynamicQuota)
- SchedulerManager
Change-Id: I831649e48b36bbaf94f6790fbf1a8954636fac32
This is a combination of 5 commits.
. The first commit's message is:
README template
. This is the 2nd commit message:
Synergy Scheduler Manager
. This is the 3rd commit message:
add initial setup.py
. This is the 4th commit message:
make the package installable
4 main changes:
- define entry points for the provided managers
- make this a real package by moving the code at the root of
"synergy_scheduler_manager".
- add missing dependencies
- add constraint on oslo.* package versions
This is needed because we use "oslo.*" namespaces when importing, and
this is only available for oslo.config and oslo.messaging for versions
< 2.0.0
. This is the 5th commit message:
add cookiecutter template files
Change-Id: I39609f07e38cfe27dd844bb277528b4a23049f9d