Skip to content
Snippets Groups Projects
Commit 8a82701d authored by Georges Racinet's avatar Georges Racinet
Browse files

RHGitaly Comparison tests: remove build time from startup timeout

Nicer when starting from scratch: we avoid a timeout error.
It's still worthwile to have CI do it before hand, because the build log
ends up in the job log.
parent c7d863a5
No related branches found
No related tags found
3 merge requests!151heptapod#743: making 0.36 the new stable,!144RHGitaly: implement CommitService.ListCommitsByOid,!140Bootstrapping RHGitaly
......@@ -31,8 +31,11 @@
socket_path = self.home_dir / 'rhgitaly.socket'
url = 'unix:%s' % socket_path.resolve()
env['RHGITALY_LISTEN_URL'] = url
rhgitaly_dir = HGITALY_SOURCE_ROOT / 'rust/rhgitaly'
subprocess.check_call(('cargo', 'build'),
cwd=rhgitaly_dir)
with open(self.home_dir / 'rhgitaly.log', 'w') as logf:
rhgitaly = subprocess.Popen(
('cargo', 'run'),
stdout=logf, stderr=logf,
env=env,
......@@ -34,9 +37,9 @@
with open(self.home_dir / 'rhgitaly.log', 'w') as logf:
rhgitaly = subprocess.Popen(
('cargo', 'run'),
stdout=logf, stderr=logf,
env=env,
cwd=HGITALY_SOURCE_ROOT / 'rust/rhgitaly'
cwd=rhgitaly_dir,
)
try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment