mirror of
https://github.com/release-engineering/dist-git.git
synced 2025-02-23 15:02:54 +00:00
tests: work-around Koji builds
This commit is contained in:
parent
a5831794fb
commit
8f0939a770
1 changed files with 2 additions and 1 deletions
|
@ -74,7 +74,8 @@ class UploadTest(unittest.TestCase):
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.hostname = 'localhost'
|
self.hostname = 'localhost'
|
||||||
self.port = 8888
|
# Koji can run multiple builds on the same host in parallel
|
||||||
|
self.port = random.randrange(10000, 20000, step=1)
|
||||||
# Create temporary filesystem tree
|
# Create temporary filesystem tree
|
||||||
self.topdir = tempfile.mkdtemp()
|
self.topdir = tempfile.mkdtemp()
|
||||||
os.chmod(self.topdir, 0o0777)
|
os.chmod(self.topdir, 0o0777)
|
||||||
|
|
Loading…
Add table
Reference in a new issue