From 07b03bd55ba792cc5702bf302808ec9433fa89f3 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Sat, 13 Oct 2007 16:06:39 -0700 Subject: [PATCH] test_runner.RunNode: pass an explicit webport, to avoid using 8123 (which might be in used by a running node). Closes #175. --- src/allmydata/test/test_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/test/test_runner.py b/src/allmydata/test/test_runner.py index 80ef42c1..30b17a9a 100644 --- a/src/allmydata/test/test_runner.py +++ b/src/allmydata/test/test_runner.py @@ -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) -- 2.45.2