From: Claudio-Daniel Freire <claudio-daniel.freire@inria.fr>
Date: Mon, 2 May 2011 16:41:57 +0000 (+0200)
Subject: Disable NS3Dependency test on normal test runs, it takes a long time to run.
X-Git-Tag: nepi_v2~85
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=e5e75fc05c49189bb9e8f5daf7f25a4938641283;p=nepi.git

Disable NS3Dependency test on normal test runs, it takes a long time to run.
---

diff --git a/test/testbeds/planetlab/execute.py b/test/testbeds/planetlab/execute.py
index 68864e48..4d0fa75d 100755
--- a/test/testbeds/planetlab/execute.py
+++ b/test/testbeds/planetlab/execute.py
@@ -419,7 +419,10 @@ echo 'OKIDOKI'
         # asserts at the end, to make sure there's proper cleanup
         self.assertEqual(ping_result, "")
 
-    @test_util.skipUnless(test_util.pl_auth() is not None, "Test requires PlanetLab authentication info (PL_USER and PL_PASS environment variables)")
+    @test_util.skipUnless(test_util.pl_auth() is not None, 
+        "Test requires PlanetLab authentication info (PL_USER and PL_PASS environment variables)")
+    @test_util.skipUnless(os.environ.get('NEPI_FULL_TESTS','').lower() in ('1','yes','true','on'),
+        "Test is expensive, requires NEPI_FULL_TESTS=yes")
     def test_ns3_depends(self):
         instance = self.make_instance()