commit ea0b944c1dcf1d97f171ce8d13b9dea6ef8f4a25
Author: Jan Tluka <jtluka(a)redhat.com>
Date: Wed Nov 26 11:12:19 2014 +0100
recipes: remove offload setting for non-existing device in vland over bond test
Fix for 3_vlans_over_bond.py task that was requesting non existing
device causing an exception. Machine 'm2' has only one ethernet device.
Signed-off-by: Jan Tluka <jtluka(a)redhat.com>
Signed-off-by: Jiri Pirko <jiri(a)resnulli.us>
.../regression_tests/phase1/3_vlans_over_bond.py | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/recipes/regression_tests/phase1/3_vlans_over_bond.py
b/recipes/regression_tests/phase1/3_vlans_over_bond.py
index 6c6f398..1c95ed2 100644
--- a/recipes/regression_tests/phase1/3_vlans_over_bond.py
+++ b/recipes/regression_tests/phase1/3_vlans_over_bond.py
@@ -63,8 +63,6 @@ for vlan1 in vlans:
offload, state))
m2.run("ethtool -K %s %s %s" %
(m2.get_devname("eth1"),
offload, state))
- m2.run("ethtool -K %s %s %s" %
(m2.get_devname("eth2"),
- offload, state))
# Ping test
m1.run(ping_mod)
@@ -87,8 +85,6 @@ for vlan1 in vlans:
offload, state))
m2.run("ethtool -K %s %s %s" %
(m2.get_devname("eth1"),
offload, state))
- m2.run("ethtool -K %s %s %s" %
(m2.get_devname("eth2"),
- offload, state))
# Ping test
m1.run(ping_mod, expect="fail")
Show replies by date