Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

clh: Increase unit test using mock testing #2367

Closed
jcvenegas opened this issue Dec 19, 2019 · 0 comments
Closed

clh: Increase unit test using mock testing #2367

jcvenegas opened this issue Dec 19, 2019 · 0 comments
Labels
enhancement Improvement to an existing feature needs-review Needs to be assessed by the team.

Comments

@jcvenegas
Copy link
Member

Which feature do you think can be improved?

Cloud hypervisor unit testing

How can it be improved?

Unit testing is for cloud-hyperivisor driver is low to increase it it is needed to have a loose dependency for the HTTP API and virtiofsd logic.

Additional Information

Anything else to add?

Before raising this feature request

Have you looked at the limitations document?

@jcvenegas jcvenegas added enhancement Improvement to an existing feature needs-review Needs to be assessed by the team. labels Dec 19, 2019
jcvenegas added a commit to jcvenegas/runtime that referenced this issue Dec 19, 2019
- use utils.StartCmd to mock call to start hypervisor process.

- Add unit test for startSandbox.

Fixes: kata-containers#2367

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
jcvenegas added a commit to jcvenegas/runtime that referenced this issue Dec 19, 2019
- use utils.StartCmd to mock call to start hypervisor process.

- Add unit test for startSandbox.

Fixes: kata-containers#2367

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
jcvenegas added a commit to jcvenegas/runtime that referenced this issue Dec 20, 2019
- use utils.StartCmd to mock call to start hypervisor process.

- Add unit test for startSandbox.

Fixes: kata-containers#2367

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
jcvenegas added a commit to jcvenegas/runtime that referenced this issue Dec 20, 2019
- use utils.StartCmd to mock call to start hypervisor process.

- Add unit test for startSandbox.

Fixes: kata-containers#2367

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
jcvenegas added a commit to jcvenegas/runtime that referenced this issue Dec 20, 2019
- use utils.StartCmd to mock call to start hypervisor process.

- Add unit test for startSandbox.

Fixes: kata-containers#2367

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
@devimc devimc closed this as completed in a2d3f9f Dec 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Improvement to an existing feature needs-review Needs to be assessed by the team.
Projects
None yet
Development

No branches or pull requests

1 participant