X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=test%2Fresources%2Fplanetlab%2Fgretunnel.py;h=6548ed27f7ab2d711534056af03913f5b6ee532a;hb=f7c6792813947d3707accd690ad7bbe83277798f;hp=33917ab3a2a4574f7c78a21e8e454fa9a33e82ea;hpb=7b73c5d0b8d2c03116baef752357a52998f451f0;p=nepi.git diff --git a/test/resources/planetlab/gretunnel.py b/test/resources/planetlab/gretunnel.py index 33917ab3..6548ed27 100755 --- a/test/resources/planetlab/gretunnel.py +++ b/test/resources/planetlab/gretunnel.py @@ -183,7 +183,9 @@ class PlanetLabGRETunnelTestCase(unittest.TestCase): ec.register_connection(tun2, gretun) app = ec.register_resource("LinuxApplication") - cmd = "ping -c3 %s.2" % self.netblock + # It seems the hybrid tunnel takes some time to setup... we add a sleep 5 + # XXX: Debug this to see if it can be fixed on the RMs + cmd = "sleep 5; ping -c3 %s.2" % self.netblock ec.set(app, "command", cmd) ec.register_connection(app, node1)