@@ -43,9 +43,9 @@ def test_bad_socket_path(uvm_plain, snapshot):
4343 jailed_vmstate = vm .create_jailed_resource (snapshot .vmstate )
4444
4545 expected_msg = re .escape (
46- "Load snapshot error: Failed to restore from snapshot: Failed to load guest "
47- "memory: Error creating guest memory from uffd: Failed to connect to UDS Unix stream: No "
48- "such file or directory (os error 2)"
46+ "Load snapshot error: Failed to restore from snapshot: Failed to build microVM from "
47+ "snapshot: Failed to load guest memory: Error creating guest memory from uffd: Failed "
48+ "to connect to UDS Unix stream: No such file or directory (os error 2)"
4949 )
5050 with pytest .raises (RuntimeError , match = expected_msg ):
5151 vm .api .snapshot_load .put (
@@ -69,9 +69,9 @@ def test_unbinded_socket(uvm_plain, snapshot):
6969 jailed_sock_path = vm .create_jailed_resource (socket_path )
7070
7171 expected_msg = re .escape (
72- "Load snapshot error: Failed to restore from snapshot: Failed to load guest "
73- "memory: Error creating guest memory from uffd: Failed to connect to UDS Unix stream : "
74- "Connection refused (os error 111)"
72+ "Load snapshot error: Failed to restore from snapshot: Failed to build microVM "
73+ "from snapshot: Failed to load guest memory: Error creating guest memory from uffd : "
74+ "Failed to connect to UDS Unix stream: Connection refused (os error 111)"
7575 )
7676 with pytest .raises (RuntimeError , match = expected_msg ):
7777 vm .api .snapshot_load .put (
0 commit comments