[tor-commits] [bridgedb/master] Spend even less time running benchmark tests.

isis at torproject.org isis at torproject.org
Sat Jul 25 19:26:19 UTC 2015


commit 80939644b8833243e64a7cb51783f83dc7603e73
Author: Isis Lovecruft <isis at torproject.org>
Date:   Sun May 10 22:09:01 2015 +0000

    Spend even less time running benchmark tests.
---
 lib/bridgedb/test/test_parse_descriptors.py |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lib/bridgedb/test/test_parse_descriptors.py b/lib/bridgedb/test/test_parse_descriptors.py
index a7b22cf..46d86f1 100644
--- a/lib/bridgedb/test/test_parse_descriptors.py
+++ b/lib/bridgedb/test/test_parse_descriptors.py
@@ -499,6 +499,9 @@ class ParseDescriptorsTests(unittest.TestCase):
 
     def test_parse_descriptors_parseExtraInfoFiles_benchmark_1000_bridges(self):
         """Benchmark test for ``b.p.descriptors.parseExtraInfoFiles``."""
+        raise SkipTest(("This test can take several minutes to complete. "
+                        "Run it on your own free time."))
+
         print()
         for i in range(1, 6):
             descFiles = self.createDuplicatesForBenchmark(b=1000, n=i)
@@ -509,7 +512,7 @@ class ParseDescriptorsTests(unittest.TestCase):
         """Benchmark test for ``b.p.descriptors.parseExtraInfoFiles``.
         The algorithm should grow linearly in the number of duplicates.
         """
-        raise SkipTest(("This test takes ~7 minutes to complete. "
+        raise SkipTest(("This test can take several minutes to complete. "
                         "Run it on your own free time."))
 
         print()





More information about the tor-commits mailing list