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
# 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_NAME="cloud-hypervisor-static-aarch64"
pushd $WORKLOADS_DIR

View File

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