test_runner.RunNode: pass an explicit webport, to avoid using 8123 (which might be...
authorBrian Warner <warner@lothar.com>
Sat, 13 Oct 2007 23:06:39 +0000 (16:06 -0700)
committerBrian Warner <warner@lothar.com>
Sat, 13 Oct 2007 23:06:39 +0000 (16:06 -0700)
src/allmydata/test/test_runner.py

index 80ef42c1cdf78513074d132f4e7ef36f41acb531..30b17a9a6d8bc15e456fa50fa2e27ac30451f709 100644 (file)
@@ -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)