Merge pull request #1973 from michelmno/dryrun

[ttm] do not wait publishing if dryrun
This commit is contained in:
Stephan Kulow 2019-05-02 13:01:58 +02:00 committed by GitHub
commit e4b5f68fa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -219,6 +219,9 @@ class ToTestPublisher(ToTestManager):
if not force:
wait_time = 20
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))
time.sleep(wait_time)