Adapt to removal of RetryHelper#indexQuery method

Change I9b577a827 removes the RetryHelper#indexQuery method in favor of
more specific methods to execute account/change queries
(RetryHelper#accountIndexQuery and RetryHelper#changeIndexQuery). The
new methods provide an InternalQuery to execute the index query. For
CheckerQuery the new methods are not suitable since it uses
ChangeQueryProcessor instead of InternalChangeQuery to query the index.
Rewrite the code to use the generic RetryHelper#action method instead.

Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: If7a580bff70483f2c3b97d8f0797373c7616a597
1 file changed
tree: ab61afa6ac25397ee50238eb152f9c8161a0743f
  1. gr-checks/
  2. java/
  3. javatests/
  4. proto/
  5. resources/
  6. test/
  7. .gitignore
  8. .gitreview
  9. bower.json
  10. BUILD
  11. LICENSE
  12. README.md
README.md

Gerrit Code Review Checks Plugin

This plugin provides a unified experience for checkers (CI systems, static analyzers, etc.) to integrate with Gerrit Code Review.

This plugin uses polymer-cli to test.

After bower install, running polymer test -l chrome will run all tests in Chrome, and running polymer serve and navigating to http://127.0.0.1:8081/components/checks/gr-checks/gr-checks-view_test.html allows for manual debugging.