#175 closed defect (fixed)

unit tests fail if port 8123 is already in use

Reported by: zooko Owned by: warner
Priority: major Milestone: 0.6.1
Component: code Version: 0.6.0
Keywords: Cc:
Launchpad Bug:


[ERROR]: allmydata.test.test_runner.RunNode.test_client

Traceback (most recent call last):
Failure: twisted.internet.defer.TimeoutError: <allmydata.test.test_runner.RunNode testMethod=test_client> (test_client) still running at 120.0 secs

and, from test_runner/RunNode/test_client/c1/logs/twistd.log:

2007-10-13 00:41:46 [-] twisted.internet.error.CannotListenError: Couldn't listen on (48, 'Address already in use').

Change History (3)

comment:1 Changed at 2007-10-13T06:49:14Z by zooko

  • Status changed from new to assigned
  • Summary changed from unit tests fail if port 8123 is already in user to unit tests fail if port 8123 is already in use

comment:2 Changed at 2007-10-13T22:53:57Z by warner

  • Owner changed from zooko to warner
  • Status changed from assigned to new

oops, good catch. I'll go through and make sure we're passing an explicit webport=0 for all the unit tests, so they don't default to 8123 anywhere.

comment:3 Changed at 2007-10-13T23:07:18Z by warner

  • Component changed from unknown to code
  • Resolution set to fixed
  • Status changed from new to closed

fixed, in 7cb41f4eaa2aa91c.

Note: See TracTickets for help on using tickets.