Change test gerrit ssh/http ports offset
The offset between test gerrit ssh/http ports was the same as the offset between test gerrit sites (1000): 1st test gerrit site http port was the same as 2nd test gerrit site ssh port Change-Id: I9c9ca05cd2a966773d72aeb210cc88a35daa9b62
This commit is contained in:
parent
86d4f43ec4
commit
242d80b125
@ -159,7 +159,7 @@ class BaseGitReviewTestCase(testtools.TestCase, GerritHelpers):
|
||||
# write config
|
||||
with open(self._dir('site', 'etc', 'gerrit.config'), 'w') as _conf:
|
||||
new_conf = utils.get_gerrit_conf(self.gerrit_port,
|
||||
self.gerrit_port + 1000)
|
||||
self.gerrit_port + 10)
|
||||
_conf.write(new_conf)
|
||||
# start Gerrit
|
||||
gerrit_sh = self._dir('site', 'bin', 'gerrit.sh')
|
||||
|
Loading…
x
Reference in New Issue
Block a user