mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-21 02:01:31 +00:00
Skip allmydata.test.test_system.Connections.test_rref unless we have foolscap >= 0.6.4, because of http://foolscap.lothar.com/trac/ticket/196 . refs #1636
This commit is contained in:
parent
1b07d30761
commit
3ab0f33413
@ -14,6 +14,7 @@ from allmydata.immutable.literal import LiteralFileNode
|
||||
from allmydata.immutable.filenode import ImmutableFileNode
|
||||
from allmydata.util import idlib, mathutil
|
||||
from allmydata.util import log, base32
|
||||
from allmydata.util.verlib import NormalizedVersion
|
||||
from allmydata.util.encodingutil import quote_output, unicode_to_argv, get_filesystem_encoding
|
||||
from allmydata.util.fileutil import abspath_expanduser_unicode
|
||||
from allmydata.util.consumer import MemoryConsumer, download_to_data
|
||||
@ -24,6 +25,8 @@ from allmydata.monitor import Monitor
|
||||
from allmydata.mutable.common import NotWriteableError
|
||||
from allmydata.mutable import layout as mutable_layout
|
||||
from allmydata.mutable.publish import MutableData
|
||||
|
||||
import foolscap
|
||||
from foolscap.api import DeadReferenceError, fireEventually
|
||||
from twisted.python.failure import Failure
|
||||
from twisted.web.client import getPage
|
||||
@ -1886,6 +1889,10 @@ class SystemTest(SystemTestMixin, RunBinTahoeMixin, unittest.TestCase):
|
||||
|
||||
class Connections(SystemTestMixin, unittest.TestCase):
|
||||
def test_rref(self):
|
||||
if NormalizedVersion(foolscap.__version__) < NormalizedVersion('0.6.4'):
|
||||
raise unittest.SkipTest("skipped due to http://foolscap.lothar.com/trac/ticket/196 "
|
||||
"(which does not affect normal usage of Tahoe-LAFS)")
|
||||
|
||||
self.basedir = "system/Connections/rref"
|
||||
d = self.set_up_nodes(2)
|
||||
def _start(ign):
|
||||
|
Loading…
x
Reference in New Issue
Block a user