diff --git a/qubes/tests/integ/vm_update.py b/qubes/tests/integ/vm_update.py index 52dce3e6a..3d661b2db 100644 --- a/qubes/tests/integ/vm_update.py +++ b/qubes/tests/integ/vm_update.py @@ -409,6 +409,13 @@ def create_repo_and_serve(self): "Template {} not supported by this test".format(self.template) ) + # wait for the repo to become reachable + self.loop.run_until_complete( + self.netvm_repo.run_for_stdio( + "while ! curl http://localhost:8080/ >/dev/null; do sleep 0.5; done" + ) + ) + def add_update_to_repo(self): """ :type self: qubes.tests.SystemTestCase | VmUpdatesMixin