mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-27 23:49:04 +00:00
tests: migrate: use uri for default's spicy client
Signed-off-by: Victor Toso <victortoso@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
parent
f82cf87e65
commit
a0a310befe
@ -96,8 +96,8 @@ def start_qemu(qemu_exec, image, spice_port, qmp_filename, incoming_port=None, e
|
||||
return proc
|
||||
|
||||
def start_client(client, spice_port):
|
||||
return Popen(("%(client)s -h localhost -p %(port)d" % dict(port=spice_port,
|
||||
client=client)).split(), executable=client)
|
||||
client_cmd = "spicy --uri spice://localhost:%s" % (spice_port)
|
||||
return Popen(client_cmd.split(), executable=client)
|
||||
|
||||
def wait_active(q, active):
|
||||
events = ["RESUME"] if active else ["STOP"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user