Tests: bump the commit before builds

Whenever the tests start a "normal" (non-scratch) build, the commit
needs to be bumped.

Signed-off-by: Hunor Csomortáni <csomh@redhat.com>
This commit is contained in:
Hunor Csomortáni
2019-12-06 12:23:35 +01:00
parent cfb3549e79
commit 72bb5a2943
2 changed files with 2 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ def test_failed_build(test_env, repo, koji):
cancelled, if not completed.
"""
build = utils.Build(test_env["packaging_utility"], test_env["mbs_api"])
repo.bump()
build.run(
"--watch",
"--scratch",

View File

@@ -18,6 +18,7 @@ def test_normal_build(test_env, repo, koji):
if a Platform stream is representing a GA RHEL release.
"""
build = utils.Build(test_env["packaging_utility"], test_env["mbs_api"])
repo.bump()
build_id = build.run(
"--watch",
"--scratch",