mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-18 18:56:28 +00:00
test_runner.RunNode: pass an explicit webport, to avoid using 8123 (which might be in used by a running node). Closes #175.
This commit is contained in:
parent
7cb41f4eaa
commit
07b03bd55b
@ -108,7 +108,7 @@ class RunNode(unittest.TestCase, testutil.PollMixin):
|
||||
raise unittest.SkipTest("twistd does not fork under windows")
|
||||
basedir = self.workdir("test_client")
|
||||
c1 = os.path.join(basedir, "c1")
|
||||
argv = ["--quiet", "create-client", "--basedir", c1]
|
||||
argv = ["--quiet", "create-client", "--basedir", c1, "--webport", "0"]
|
||||
out,err = StringIO(), StringIO()
|
||||
rc = runner.runner(argv, stdout=out, stderr=err)
|
||||
self.failUnlessEqual(rc, 0)
|
||||
|
Loading…
Reference in New Issue
Block a user