mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-03-12 20:58:28 +03:00
uitests: More handling for slow startup on f39
Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
75e4d1dd29
commit
2043847ade
@ -92,10 +92,11 @@ def testShowRemoteDBusConnect(app):
|
||||
newapp = lib.app.VMMDogtailApp("test:///default")
|
||||
newapp.open(check_already_running=False,
|
||||
extra_opts=opts)
|
||||
lib.utils.check(lambda: not newapp.is_running())
|
||||
timeout = 10
|
||||
lib.utils.check(lambda: not newapp.is_running(), timeout)
|
||||
vapps = [a for a in newapp.tree.root.applications() if
|
||||
a.name == "virt-manager"]
|
||||
lib.utils.check(lambda: len(vapps) == 1)
|
||||
lib.utils.check(lambda: len(vapps) == 1, timeout=timeout)
|
||||
# Ensure connection showed up
|
||||
app.topwin.find("test default", "table cell")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user