[tor-commits] [stem/master] Disable integ test for fallback directory reachability
atagar at torproject.org
atagar at torproject.org
Wed Nov 2 17:48:36 UTC 2016
commit 3c3fc11c6bb0ef7bcc3ebd12f2a055b0950dcfac
Author: Damian Johnson <atagar at torproject.org>
Date: Mon Oct 31 19:24:03 2016 -0700
Disable integ test for fallback directory reachability
This was a great test at one point but tor's added so many fallbacks that it
takes *forever*. At a rough guess maybe a half hour. Better as a DocTor check
anyway (think we actually have one already...).
---
test/integ/descriptor/remote.py | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/test/integ/descriptor/remote.py b/test/integ/descriptor/remote.py
index 5fe6cc1..52d29f0 100644
--- a/test/integ/descriptor/remote.py
+++ b/test/integ/descriptor/remote.py
@@ -11,6 +11,8 @@ import stem.descriptor.remote
import stem.descriptor.router_status_entry
import stem.descriptor.server_descriptor
+import test.runner
+
from test.runner import (
require_online,
only_run_once,
@@ -226,6 +228,12 @@ class TestDescriptorDownloader(unittest.TestCase):
available.
"""
+ # Don't run this test by default. Once upon a time it was fine, but tor has
+ # added so many fallbacks now that this takes a looong time. :(
+
+ test.runner.skip(self, '(skipped by default)')
+ return
+
unsuccessful = {}
downloader = stem.descriptor.remote.DescriptorDownloader()
moria1_v3ident = stem.descriptor.remote.get_authorities()['moria1'].v3ident
More information about the tor-commits
mailing list