Skip to content

Commit c7331eb

Browse files
committed
chore: Skip snapshot restore performance test temporarily
To support the snapshot restore feature, a new KVM API (KVM_GET_XSAVE2) is required but it has not been supported yet in rust-vmm kvm-ioctls. Until supported, skip the snapshot restore performance test for now. Signed-off-by: Takahiro Itazuri <itazur@amazon.com>
1 parent 5ec8cbd commit c7331eb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/integration_tests/performance/test_snapshot_ab.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
import host_tools.drive as drive_tools
1212
from framework.microvm import Microvm
13+
from framework.properties import global_props
1314

1415
USEC_IN_MSEC = 1000
1516
ITERATIONS = 30
@@ -124,6 +125,10 @@ def sample_latency(
124125
],
125126
ids=lambda x: x.id,
126127
)
128+
@pytest.mark.skipif(
129+
global_props.cpu_codename == "INTEL_SAPPHIRE_RAPIDS",
130+
reason="Intel Sapphire Rapids to be supported soon in upcoming change",
131+
)
127132
def test_restore_latency(
128133
microvm_factory, rootfs, guest_kernel_linux_5_10, test_setup, metrics
129134
):

0 commit comments

Comments
 (0)