tests: Enable live upgrade tests on AArch64

Signed-off-by: Michael Zhao <michael.zhao@arm.com>
This commit is contained in:
Michael Zhao 2022-08-21 21:38:12 +08:00 committed by Xin Wang
parent c798b958f3
commit 88bbf7989a
2 changed files with 1 additions and 9 deletions

View File

@ -148,7 +148,7 @@ update_workloads() {
popd popd
# Download Cloud Hypervisor binary from its last stable release # Download Cloud Hypervisor binary from its last stable release
LAST_RELEASE_VERSION="v23.0" LAST_RELEASE_VERSION="v26.0"
CH_RELEASE_URL="https://github.com/cloud-hypervisor/cloud-hypervisor/releases/download/$LAST_RELEASE_VERSION/cloud-hypervisor-static-aarch64" CH_RELEASE_URL="https://github.com/cloud-hypervisor/cloud-hypervisor/releases/download/$LAST_RELEASE_VERSION/cloud-hypervisor-static-aarch64"
CH_RELEASE_NAME="cloud-hypervisor-static-aarch64" CH_RELEASE_NAME="cloud-hypervisor-static-aarch64"
pushd $WORKLOADS_DIR pushd $WORKLOADS_DIR

View File

@ -8927,51 +8927,43 @@ mod live_migration {
} }
#[test] #[test]
#[cfg(target_arch = "x86_64")]
fn test_live_upgrade_basic() { fn test_live_upgrade_basic() {
_test_live_migration(true, false, false, false, false) _test_live_migration(true, false, false, false, false)
} }
#[test] #[test]
#[cfg(target_arch = "x86_64")]
fn test_live_upgrade_local() { fn test_live_upgrade_local() {
_test_live_migration(true, false, true, false, false) _test_live_migration(true, false, true, false, false)
} }
#[test] #[test]
#[cfg(not(feature = "mshv"))] #[cfg(not(feature = "mshv"))]
#[cfg(target_arch = "x86_64")]
fn test_live_upgrade_numa() { fn test_live_upgrade_numa() {
_test_live_migration(true, true, false, false, false) _test_live_migration(true, true, false, false, false)
} }
#[test] #[test]
#[cfg(not(feature = "mshv"))] #[cfg(not(feature = "mshv"))]
#[cfg(target_arch = "x86_64")]
fn test_live_upgrade_numa_local() { fn test_live_upgrade_numa_local() {
_test_live_migration(true, true, true, false, false) _test_live_migration(true, true, true, false, false)
} }
#[test] #[test]
#[cfg(target_arch = "x86_64")]
fn test_live_upgrade_watchdog() { fn test_live_upgrade_watchdog() {
_test_live_migration(true, false, false, true, false) _test_live_migration(true, false, false, true, false)
} }
#[test] #[test]
#[cfg(target_arch = "x86_64")]
fn test_live_upgrade_watchdog_local() { fn test_live_upgrade_watchdog_local() {
_test_live_migration(true, false, true, true, false) _test_live_migration(true, false, true, true, false)
} }
#[test] #[test]
#[cfg(target_arch = "x86_64")]
fn test_live_upgrade_balloon() { fn test_live_upgrade_balloon() {
_test_live_migration(true, false, false, false, true) _test_live_migration(true, false, false, false, true)
} }
#[test] #[test]
#[cfg(target_arch = "x86_64")]
fn test_live_upgrade_balloon_local() { fn test_live_upgrade_balloon_local() {
_test_live_migration(true, false, true, false, true) _test_live_migration(true, false, true, false, true)
} }