On Mon, Oct 10, 2016 at 03:01:29PM +0200, Jan Tluka wrote:
We have to wait few seconds after setting different MTU rather than
before.
Signed-off-by: Jan Tluka <jtluka(a)redhat.com>
---
recipes/regression_tests/phase1/simple_ping.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/recipes/regression_tests/phase1/simple_ping.py
b/recipes/regression_tests/phase1/simple_ping.py
index 3591402..a421497 100644
--- a/recipes/regression_tests/phase1/simple_ping.py
+++ b/recipes/regression_tests/phase1/simple_ping.py
@@ -25,8 +25,6 @@ ping_mod6 = ctl.get_module("Icmp6Ping",
"iface" : hostA_testiface.get_ip(1),
"limit_rate": 90})
-ctl.wait(15)
-
ipv = ctl.get_alias("ipv")
mtu = ctl.get_alias("mtu")
@@ -35,6 +33,7 @@ test_if1.set_mtu(mtu)
test_if2 = hostB.get_interface("testiface")
test_if2.set_mtu(mtu)
+ctl.wait(15)
if ipv in [ 'ipv6', 'both' ]:
hostA.run(ping_mod6)
--
2.7.4
_______________________________________________
LNST-developers mailing list -- lnst-developers(a)lists.fedorahosted.org
To unsubscribe send an email to lnst-developers-leave(a)lists.fedorahosted.org
pushed, thanks
-Ondrej