1
0
mirror of https://github.com/containers/youki synced 2024-11-24 01:44:17 +01:00
Commit Graph

19 Commits

Author SHA1 Message Date
Yashodhan Joshi
28ce007066 Add resolution of runtime path using which crate
Now it is not required to give complete path of the runtime, if it exists in $PATH
previously needed to provide /usr/bin/run, now only runc resolves to it
2021-09-20 20:48:10 +05:30
Yashodhan Joshi
5e07e90e18 Change SLEEP_TIME from u64 to Duration 2021-09-20 19:17:01 +05:30
Yashodhan Joshi
afd546bc26 Move sleep after sending kill signal to test itself
Sleeping is necessary only when running all lifecycle tests,
as otherwise container is still running when we try to delete, and delete test fails.
But keeping sleep in kill function slows all other test where we do not try deleting immidiately afterwards.
Thus moved the sleep in the kill test itself, so only happend when testing lifecycle functions.
2021-09-19 21:01:02 +05:30
Yashodhan Joshi
3a0882db6e Change workspace folder to temp dirs, Add support functions for creating bundles,starting containers etc. 2021-09-19 20:54:22 +05:30
Yashodhan Joshi
4a4e54b0da Convert hard-coded word youki to more generic runtime 2021-09-19 20:38:20 +05:30
utam0k
7b20c46efd handle name as a str instead of a String in youki_integration_test. 2021-09-19 22:11:42 +09:00
Yashodhan Joshi
a7cb2c1f1a Add comments and minor readability improvements 2021-09-03 10:27:10 +05:30
Yashodhan Joshi
78b6877b5b Add Readme for integration tests 2021-08-30 10:31:35 +05:30
Yashodhan Joshi
dd43cb632d Fix for runc testing
change -r to --root, as runc does not take -r commandline option
2021-08-29 15:44:58 +05:30
Yashodhan Joshi
85f23015dd Fix youki processes staying alive in create tests 2021-08-29 15:30:30 +05:30
Yashodhan Joshi
a39b287f6e Complete setting up commandline options
Now supports -r (required) to take runtime path
and -t (optional) to take selected tests to run
2021-08-29 15:09:37 +05:30
Yashodhan Joshi
860526a3af Setup Clap for taking commandline values 2021-08-29 13:32:38 +05:30
Yashodhan Joshi
b9c3661024 Add create container tests 2021-08-16 14:16:41 +05:30
Yashodhan Joshi
cb9b04fc35 Integrate lifecycle tests in new test framework
Add TestableGroup trait
2021-08-16 13:51:14 +05:30
oliver
83bc28a324 Run cargo fmt 2021-07-24 02:18:43 +09:00
oliver
3c98b5e456 Update error handlings 2021-07-24 02:17:43 +09:00
oliver
345dc60ecb Rename variable name to container_runtime 2021-07-24 01:49:04 +09:00
oliver
8b429653e4 Apply cargo clippy 2021-07-24 01:41:57 +09:00
oliver
3e6e933d51 Impl original integration test tool 2021-07-16 04:55:46 +09:00