From 87e20d6b80e3a4037a7e285c19c83b77563a65e5 Mon Sep 17 00:00:00 2001 From: ckyrouac Date: Wed, 14 Jan 2026 11:13:04 -0500 Subject: [PATCH] install: Reduce disk space usage of mount test It was using 12G, reduce it down to 1G to avoid the github runner running out of space. Signed-off-by: ckyrouac --- crates/tests-integration/src/install.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/tests-integration/src/install.rs b/crates/tests-integration/src/install.rs index 80a96797..de3a8dbe 100644 --- a/crates/tests-integration/src/install.rs +++ b/crates/tests-integration/src/install.rs @@ -109,7 +109,7 @@ pub(crate) fn run_alongside(image: &str, mut testargs: libtest_mimic::Arguments) // Create a disk image with partitions for root and var let disk_img = work_dir.join("disk.img"); - let size = 12 * 1024 * 1024 * 1024; + let size = 1024 * 1024 * 1024; // 1 GiB let disk_file = std::fs::File::create(&disk_img)?; disk_file.set_len(size)?; drop(disk_file); @@ -170,8 +170,8 @@ pub(crate) fn run_alongside(image: &str, mut testargs: libtest_mimic::Arguments) cmd!(sh, "sudo vgcreate BL {loop_part4}").run()?; // Create logical volumes - cmd!(sh, "sudo lvcreate -L 4G -n var02 BL").run()?; - cmd!(sh, "sudo lvcreate -L 5G -n root02 BL").run()?; + cmd!(sh, "sudo lvcreate -L 100M -n var02 BL").run()?; + cmd!(sh, "sudo lvcreate -L 100M -n root02 BL").run()?; // Create filesystems on logical volumes cmd!(sh, "sudo mkfs.ext4 -F /dev/BL/var02").run()?;