[ttm] do not wait publishing if dryrun
Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
This commit is contained in:
parent
9cdbc9ac8d
commit
9e248644f8
@ -219,6 +219,9 @@ class ToTestPublisher(ToTestManager):
|
|||||||
if not force:
|
if not force:
|
||||||
wait_time = 20
|
wait_time = 20
|
||||||
while not self.all_repos_done(self.project.test_project):
|
while not self.all_repos_done(self.project.test_project):
|
||||||
|
if self.dryrun:
|
||||||
|
self.logger.info('{} is still not published, do not wait as dryrun.'.format(self.project.test_project))
|
||||||
|
return
|
||||||
self.logger.info('{} is still not published, waiting {} seconds'.format(self.project.test_project, wait_time))
|
self.logger.info('{} is still not published, waiting {} seconds'.format(self.project.test_project, wait_time))
|
||||||
time.sleep(wait_time)
|
time.sleep(wait_time)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user