From 0ef69fa5929f46a5419434252b7b0fd1d8256f3c Mon Sep 17 00:00:00 2001 From: Muminul Islam Date: Thu, 18 Feb 2021 10:42:06 -0800 Subject: [PATCH] tests: Use constant instead of static value for windows image name Signed-off-by: Muminul Islam --- tests/integration.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration.rs b/tests/integration.rs index ffecbd588..9cb82e8da 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -6115,7 +6115,7 @@ mod tests { ovmf_path.push("OVMF.fd"); let mut osdisk_path = workload_path; - osdisk_path.push("windows-server-2019.raw"); + osdisk_path.push(WINDOWS_IMAGE_NAME.to_string()); let mut child = GuestCommand::new(&guest) .args(&["--cpus", "boot=2,kvm_hyperv=on"]) @@ -6169,7 +6169,7 @@ mod tests { ovmf_path.push("OVMF.fd"); let mut osdisk_path = workload_path; - osdisk_path.push("windows-server-2019.raw"); + osdisk_path.push(WINDOWS_IMAGE_NAME.to_string()); let api_socket = temp_api_path(&tmp_dir);