Files
gerrit/gerrit-server
Edwin Kempin dec0dd4bf2 Add additional assertions to AbstractQueryChangesTest#byComment()
This test is flaky, occasionally it fails with [1]:

  com.google.gerrit.server.query.change.LuceneQueryChangesTest
  byComment: Not true that query 'comment:toplevel' with expected
  changes [{1 (Ib53ede6016ab00392d2f4643b923d4837f9329e1),
  dest=repo,refs/heads/master, status=NEW, lastUpdated=1254344400003}]
  and result [] (<[]>) contains exactly <[1]>. It is missing <[1]>

So the query doesn't find a change with the expected comment. Add
additional assertions to verify that posting the inline comment and
the change message were successful.

[1] https://gerrit-ci.gerritforge.com/job/Gerrit-verifier-default/4209/consoleText

Change-Id: I46faf179a40b5a2a964327965f9a7c304fc25d9e
Signed-off-by: Edwin Kempin <ekempin@google.com>
2016-02-23 15:03:35 +01:00
..