From Dan Kenigsberg <dan...@redhat.com>:

Dan Kenigsberg has uploaded a new change for review.

Change subject: net.tc_tests: mock BONDING_DEFAULTS
......................................................................

net.tc_tests: mock BONDING_DEFAULTS

I don't really understand how this popped up suddely, but various
tc_tests failed on CI due to trying to read from
/usr/share/vdsm/bonding-defaults.json

Change-Id: I99824c5b1fad63b5f07b4ad40c3e134cc98d91c6
Signed-off-by: Dan Kenigsberg <dan...@redhat.com>
---
M tests/network/tc_test.py
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/02/79702/1

diff --git a/tests/network/tc_test.py b/tests/network/tc_test.py
index 4cb8aa6..dd9b3a3 100644
--- a/tests/network/tc_test.py
+++ b/tests/network/tc_test.py
@@ -400,6 +400,7 @@
 
 @MonkeyClass(libvirtconnection, 'get', Connection)
 @expandPermutations
+@mock.patch.object(sysfs_options, 'BONDING_DEFAULTS', bonding_default_fpath())
 class TestConfigureOutbound(TestCaseBase):
     def setUp(self):
         self.device = Dummy()


-- 
To view, visit https://gerrit.ovirt.org/79702
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I99824c5b1fad63b5f07b4ad40c3e134cc98d91c6
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <dan...@redhat.com>
_______________________________________________
vdsm-patches mailing list -- vdsm-patches@lists.fedorahosted.org
To unsubscribe send an email to vdsm-patches-le...@lists.fedorahosted.org

Reply via email to