gerrit/gerrit-acceptance-tests
Dave Borowitz 479e700631 MergeOp: Check commit status separately after merge strategies
The updateChangeStatus method was a little weird, basically following
disjoint codepaths depending on the value of the boolean dryRun
argument. The first time through, which happened immediately after
running the submit strategies, might throw exceptions for missing
dependencies or other invalid statuses. The second time through, after
executing ref updates, was actually responsible for setting the status
on the change objects in the database. (It could theoretically throw
in the same cases as the first time it was called, but those should
have already thrown already so it's essentially dead code.)

Split the first set of checks into a new method,
checkMergeStrategyResults, that has an explicit name for what it does,
and uses the same problem/failFast structure as we've started adopting
elsewhere.

Change-Id: I3ea6e5a47d3173749773c0cf7fa175c8048b1a0a
2015-12-24 10:08:47 -08:00
..
src/test/java/com/google/gerrit/acceptance MergeOp: Check commit status separately after merge strategies 2015-12-24 10:08:47 -08:00
BUCK Expose acceptance test framework as new plugin artifact 2015-09-25 14:46:10 -04:00
tests.defs Buck: Tweak unit test invocation and halve the run time 2015-10-16 08:25:43 +02:00