gerrit/gerrit-acceptance-tests
Dave Borowitz bd77ad3609 MergeOp: Throw more descriptive ResourceConflictExceptions
Keep track of problems that occur during the various early validation
phases of submitting a batch of changes. This replaces usage of
CommitMergeStatus for some statuses (e.g. REVISION_GONE) that should
really fail the batch before any merge attempt is made. It also
avoids throwing IntegrationExceptions early, looping through the full
list of changes to collect more errors.

Currently the failFast() method throws ResourceConflictException,
since that is the easiest way to expose the error message to users. In
the future we will probably rearrange exception types a bit more.

Change-Id: I4846043333eaedb06975825b8aa75b3bfc97e698
2015-12-21 20:29:30 -05:00
..
src/test/java/com/google/gerrit/acceptance MergeOp: Throw more descriptive ResourceConflictExceptions 2015-12-21 20:29:30 -05: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