mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-23 22:17:19 +00:00
kata-ctl: Use loop
instead of kvm
module in tests
This makes it pssible to run the tests in the cost free runners, which are not KVM capable. Fixes: #7974 -- part 0 Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
46daddc500
commit
2bc3a616ae
@ -539,10 +539,10 @@ mod tests {
|
||||
},
|
||||
// Success scenarios
|
||||
TestData {
|
||||
module_name: "kvm",
|
||||
module_name: "loop",
|
||||
param_name: "",
|
||||
kernel_module: &KernelModule {
|
||||
name: "kvm",
|
||||
name: "loop",
|
||||
params: &[KernelParam {
|
||||
name: "nonexistantparam",
|
||||
value: KernelParamType::Simple("Y"),
|
||||
@ -552,16 +552,16 @@ mod tests {
|
||||
result: Ok(()),
|
||||
},
|
||||
TestData {
|
||||
module_name: "kvm",
|
||||
param_name: "kvmclock_periodic_sync",
|
||||
module_name: "loop",
|
||||
param_name: "hw_queue_depth",
|
||||
kernel_module: &KernelModule {
|
||||
name: "kvm",
|
||||
name: "loop",
|
||||
params: &[KernelParam {
|
||||
name: "kvmclock_periodic_sync",
|
||||
value: KernelParamType::Simple("Y"),
|
||||
name: "hw_queue_depth",
|
||||
value: KernelParamType::Simple("128"),
|
||||
}],
|
||||
},
|
||||
param_value: "Y",
|
||||
param_value: "128",
|
||||
result: Ok(()),
|
||||
},
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user