Skip to content

Commit 03f9743

Browse files
committed
tests: accept both ERR_VM_REFRESH and ERR_VM_UPDATE on no network test
DNF5 gives less control over when metadata is refreshed. Accept both error codes in the test. More details at QubesOS/qubes-core-admin-linux#191 (comment) (cherry picked from commit a455e5d)
1 parent f912a09 commit 03f9743

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

qubes/tests/integ/vm_update.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ def test_130_no_network_qubes_vm_update(self):
690690
self.update_via_proxy_qubes_vm_update_impl(
691691
method="qubes-vm-update",
692692
options=(),
693-
expected_ret_codes=(23,),
693+
expected_ret_codes=(23, 24),
694694
break_repo=True,
695695
expect_updated=False,
696696
)
@@ -699,7 +699,7 @@ def test_131_no_network_qubes_vm_update_cli(self):
699699
self.update_via_proxy_qubes_vm_update_impl(
700700
method="qubes-vm-update",
701701
options=("--no-progress",),
702-
expected_ret_codes=(23,),
702+
expected_ret_codes=(23, 24),
703703
break_repo=True,
704704
expect_updated=False,
705705
)

0 commit comments

Comments
 (0)