From 93a517c637b1dd27a7e954b4598cf64e76b9ebab Mon Sep 17 00:00:00 2001 From: Simon Kobyda Date: Fri, 13 Oct 2023 13:22:30 +0200 Subject: [PATCH] DON'T MERGE: Debug TestMachinesNetworks.testNetworkState on fedora-rawhide --- src/libvirtApi/network.js | 1 + test/check-machines-networks | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/libvirtApi/network.js b/src/libvirtApi/network.js index 0d3569f63..b1d1da0b5 100644 --- a/src/libvirtApi/network.js +++ b/src/libvirtApi/network.js @@ -102,6 +102,7 @@ export function networkGet({ props.name = resultProps[0].Name.v.v; props.id = objPath; props.connectionName = connectionName; + console.log(props); return call(connectionName, objPath, 'org.libvirt.Network', 'GetXMLDesc', [0], { timeout, type: 'u' }); }) diff --git a/test/check-machines-networks b/test/check-machines-networks index fb29668ca..591e9f2a0 100755 --- a/test/check-machines-networks +++ b/test/check-machines-networks @@ -757,8 +757,10 @@ class TestMachinesNetworks(VirtualMachinesCase): # activate network b.wait_visible(f"#activate-network-test_network2-{connectionName}") + print(m.execute("virsh net-info test_network2")) b.click(f"#activate-network-test_network2-{connectionName}") b.wait_in_text(f"#network-test_network2-{connectionName}-state", "active") + print(m.execute("virsh net-info test_network2")) # check virsh state wait(lambda: "yes" == m.execute("virsh net-info test_network2 | grep 'Active:' | awk '{print $2}'").strip(), tries=5)