Skip to content

Commit

Permalink
Enable running last N failed tests
Browse files Browse the repository at this point in the history
amd64-debian-10 and amd64-fedora-38 now only run the last N failed tests
  • Loading branch information
vladbogo committed Dec 28, 2023
1 parent c27a394 commit 4ec2dd3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions master-protected-branches/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ for w_name in ["hz-bbw"]:
####### FACTORY CODE

f_quick_build = getQuickBuildFactory(mtrDbPool)
f_last_n_failed = getLastNFailedBuildsFactory(mtrDbPool)

## f_tarball - create source tarball
f_tarball = util.BuildFactory()
Expand Down Expand Up @@ -522,7 +523,7 @@ c["builders"].append(
canStartBuild=canStartBuild,
locks=getLocks,
properties={"mtr_additional_args": protected_branches_mtr_additional_args},
factory=f_quick_build,
factory=f_last_n_failed,
)
)

Expand All @@ -536,7 +537,7 @@ c["builders"].append(
canStartBuild=canStartBuild,
locks=getLocks,
properties={"mtr_additional_args": protected_branches_mtr_additional_args},
factory=f_quick_build,
factory=f_last_n_failed,
)
)

Expand Down

0 comments on commit 4ec2dd3

Please sign in to comment.