tests/functional/test_vnc: Do not use a hard-coded VNC port
authorThomas Huth <thuth@redhat.com>
Wed, 18 Dec 2024 13:14:37 +0000 (14:14 +0100)
committerThomas Huth <thuth@redhat.com>
Thu, 2 Jan 2025 07:58:08 +0000 (08:58 +0100)
commit56d3a1482921e7e23233f3abcce9c29f3f56cb72
tree63199751fc2c2c8a41eddfb6928ed74afc4ba0df
parentc82bfaf42dc6f8dbf101190c86cfa8af9ea400fd
tests/functional/test_vnc: Do not use a hard-coded VNC port

Two tests here are using the hard-coded VNC port :0 ... if there
is already a QEMU or other program running that is using this
port, the tests will be failing. Fortunately, QEMU can also
auto-detect a free port with the "to=..." parameter, so let's
use that for the tests to avoid the problem.

Message-ID: <20241218131439.255841-4-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/functional/test_vnc.py