Fix check for "no change in snapshot version"

It compared against the version of the DVD in :ToTest and not version_totest
in the pseudometa. This can result in ttm getting stuck if the previous release
did not complete.
This commit is contained in:
Fabian Vogt 2018-12-11 14:28:02 +01:00
parent 75e065fb5d
commit 7f626be12e

View File

@ -592,7 +592,7 @@ class ToTestBase(object):
can_release = ((current_snapshot is None or current_result != QA_INPROGRESS) and snapshotable) can_release = ((current_snapshot is None or current_result != QA_INPROGRESS) and snapshotable)
# not overwriting # not overwriting
if new_snapshot == current_snapshot: if new_snapshot == current_qa_version:
logger.debug("no change in snapshot version") logger.debug("no change in snapshot version")
can_release = False can_release = False
elif not self.all_repos_done(self.test_project): elif not self.all_repos_done(self.test_project):