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 Mar 28, 2018. It is now read-only.
We need to tighten a bit our tests by failing if something unexpected happens to better understand where the bugs are. It's not enough to say "at the end of the test run, we have processes left behind".
Tests need to ensure:
setup(): no qemu(-lite) process is running on the system
setup(): no cc-shim is running on the system
setup(): there's no running container on the system
teardown(): no qemu(-lite) process is running on the system
teardown(): no cc-shim is running on the system
teardown(): there's no running container on the system
at teardown(), if we detect a problem, we fail the test. That way we'll know which test failed. We should then try to clean up the environment for the next test (kill container, qemu, cc-shim).
The text was updated successfully, but these errors were encountered:
This commit enhances the tests to verify that the
containers and all subprocesses (cc-shim and qemu)
are killed properly.
Fixesintel#647
Signed-off-by: Salvador Fuentes <salvador.fuentes@intel.com>
This commit enhances the tests to verify that the
containers and all subprocesses (cc-shim and qemu)
are finished properly.
Fixesintel#647
Signed-off-by: Salvador Fuentes <salvador.fuentes@intel.com>
chavafg
added a commit
to chavafg/cc-oci-runtime
that referenced
this issue
Feb 27, 2017
This commit enhances the tests to verify that the
containers and all subprocesses (cc-shim and qemu)
are finished properly.
Fixesintel#647
Signed-off-by: Salvador Fuentes <salvador.fuentes@intel.com>
We need to tighten a bit our tests by failing if something unexpected happens to better understand where the bugs are. It's not enough to say "at the end of the test run, we have processes left behind".
Tests need to ensure:
setup(): no qemu(-lite) process is running on the system
setup(): no cc-shim is running on the system
setup(): there's no running container on the system
teardown(): no qemu(-lite) process is running on the system
teardown(): no cc-shim is running on the system
teardown(): there's no running container on the system
at teardown(), if we detect a problem, we fail the test. That way we'll know which test failed. We should then try to clean up the environment for the next test (kill container, qemu, cc-shim).
The text was updated successfully, but these errors were encountered: