gerrit/gerrit-acceptance-tests
Edwin Kempin 778fed6f9e Fix adding reviewer if dummy approval already exists
If NoteDb is enabled adding a reviewer sometimes fails because
inserting a dummy approval for this user in ReviewDb fails due to a
duplicate key exception. This means there is an inconsistency between
ReviewDb and NoteDb, the user is not found as existing reviewer when
reading from NoteDb, but according to ReviewDb the user is a reviewer
(dummy approval exists). Handle this situation gracefully by
overwriting the existing dummy approval in this case.

Change-Id: Iea29f869662f593eb6c35424ce30378fa82e1f02
Signed-off-by: Edwin Kempin <ekempin@google.com>
2016-09-30 11:53:49 +02:00
..
src/test/java/com/google/gerrit/acceptance Fix adding reviewer if dummy approval already exists 2016-09-30 11:53:49 +02:00
BUCK Buck: Remove jgit cell 2016-04-20 22:02:49 +02:00
BUILD Implement Bazel build 2016-06-14 21:12:02 +02:00
tests.bzl Update Buck to latest version 2016-09-20 13:19:15 +02:00
tests.defs Update Buck to latest version 2016-09-20 13:19:15 +02:00