-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #890 from cderici/wait-for-at-least-units-param-re…
…name #890 #### Description This is to clear a bit the semantics of `wait_for_units` parameter in `model.wait_for_idle`, which is to wait for a certain amount of units across all the given applications and return when those are available, regardless of the state of the other units (they can be in an error state or whatever just don't care and return) Fixes #886 #### QA Steps We got a couple of tests specific to `wait_for_idle` and `wait_for_units`, so all of them should pass, some important ones are the following: ``` tox -e py3 -- tests/unit/test_model.py::TestModelWaitForIdle ``` ``` tox -e integration -- tests/integration/test_model.py::test_wait_for_idle_with_enough_units ``` ``` tox -e integration -- tests/integration/test_model.py::test_wait_for_idle_with_exact_units ``` ``` tox -e integration -- tests/integration/test_model.py::test_wait_for_idle_with_exact_units_scale_down ``` ``` tox -e integration -- tests/integration/test_model.py::test_wait_for_idle_with_exact_units_scale_down_zero ```
- Loading branch information
Showing
2 changed files
with
25 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters