ci: AArch64: enable snapshot/restore integration test case

Signed-off-by: Henry Wang <Henry.Wang@arm.com>
This commit is contained in:
Henry Wang 2020-09-18 13:16:06 +00:00 committed by Rob Bradford
parent 961c5f2cb2
commit c85c1f0d76
2 changed files with 4 additions and 2 deletions

View File

@ -206,7 +206,7 @@ sudo bash -c "echo 1 > /sys/kernel/mm/ksm/run"
sudo adduser $USER kvm
newgrp kvm << EOF
export RUST_BACKTRACE=1
time cargo test --no-default-features --features "integration_tests,pci,kvm" "tests::parallel::$@"
time cargo test --no-default-features --features "integration_tests,pci,kvm" "tests::parallel::$@" -- --skip test_snapshot_restore
EOF
RES=$?

View File

@ -5018,7 +5018,6 @@ mod tests {
// through each ssh command. There's no need to perform a dedicated test to
// verify the migration went well for virtio-net.
#[test]
#[cfg(target_arch = "x86_64")]
fn test_snapshot_restore() {
let mut focal = UbuntuDiskConfig::new(FOCAL_IMAGE_NAME.to_string());
let guest = Guest::new(&mut focal);
@ -5026,7 +5025,10 @@ mod tests {
workload_path.push("workloads");
let mut kernel_path = workload_path;
#[cfg(target_arch = "x86_64")]
kernel_path.push("bzImage");
#[cfg(target_arch = "aarch64")]
kernel_path.push("Image");
let api_socket = temp_api_path(&guest.tmp_dir);