Add @UseSsh Annotation and GERRIT_USE_SSH flag
Adding a @UseSsh annotation and a command line flag lets us decide if we want to run tests that require SSH on each test run. In this way, we can run the test suite against a Gerrit instance that does not support SSH connections. Change-Id: Ibb471f312c50f0c92e1c32e55f4a5667b33b6ab5
This commit is contained in:
@@ -217,6 +217,12 @@ To run the tests against NoteDb backend:
|
||||
bazel test --test_env=GERRIT_NOTEDB=READ_WRITE //...
|
||||
----
|
||||
|
||||
To run only tests that do not use SSH:
|
||||
|
||||
----
|
||||
bazel test --test_env=GERRIT_USE_SSH=NO //...
|
||||
----
|
||||
|
||||
== Dependencies
|
||||
|
||||
Dependency JARs are normally downloaded as needed, but you can
|
||||
|
||||
Reference in New Issue
Block a user