mirror of
https://github.com/release-engineering/dist-git.git
synced 2025-02-23 15:02:54 +00:00
Use fixed port number for our python tests
Randomly generated port numbers worked just find on developer's machines but Koji have issues with some of the numbers. Let's not burn hours trying to figure out which ports work and which doesn't and just settle on one fixed number. It is more deterministic and reproducible anyway.
This commit is contained in:
parent
7d376539a3
commit
60c3bc46b8
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ class UploadTest(unittest.TestCase):
|
|||
|
||||
def setUp(self):
|
||||
self.hostname = 'localhost'
|
||||
self.port = random.randrange(59898, 65534)
|
||||
self.port = 8888
|
||||
# Create temporary filesystem tree
|
||||
self.topdir = tempfile.mkdtemp()
|
||||
os.chmod(self.topdir, 0o0777)
|
||||
|
|
Loading…
Add table
Reference in a new issue