Skip to content

Commit 2736919

Browse files
Manciukicbchalios
authored andcommitted
test(initrd): run also with PCI enabled
Run the initrd tests also with PCI enabled to verify everything is still working correctly. Signed-off-by: Riccardo Mancini <[email protected]> Signed-off-by: Babis Chalios <[email protected]>
1 parent ba87ba1 commit 2736919

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/integration_tests/performance/test_initrd.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@
99

1010

1111
@pytest.fixture
12-
def uvm_with_initrd(microvm_factory, guest_kernel, record_property, artifact_dir):
12+
def uvm_with_initrd(
13+
microvm_factory, guest_kernel, pci_enabled, record_property, artifact_dir
14+
):
1315
"""
1416
See file:../docs/initrd.md
1517
"""
1618
fs = artifact_dir / "initramfs.cpio"
1719
record_property("rootfs", fs.name)
18-
uvm = microvm_factory.build(guest_kernel)
20+
uvm = microvm_factory.build(guest_kernel, pci=pci_enabled)
1921
uvm.initrd_file = fs
2022
yield uvm
2123

0 commit comments

Comments
 (0)