Remove excessive test modes Change-Id: I38161ff426a4f529f9073da2055adbfb45193f20
diff --git a/Documentation/dev-bazel.txt b/Documentation/dev-bazel.txt index 60a56dd..dc81f44 100644 --- a/Documentation/dev-bazel.txt +++ b/Documentation/dev-bazel.txt
@@ -224,7 +224,7 @@ Primary storage NoteDb and ReviewDb disabled: ---- - bazel test --test_env=GERRIT_NOTEDB=DISABLE_CHANGE_REVIEW_DB //... + bazel test --test_env=GERRIT_NOTEDB=ON //... ---- To run only tests that do not use SSH:
diff --git a/gerrit-server/src/test/java/com/google/gerrit/testutil/NoteDbMode.java b/gerrit-server/src/test/java/com/google/gerrit/testutil/NoteDbMode.java index b51a011..078ce43 100644 --- a/gerrit-server/src/test/java/com/google/gerrit/testutil/NoteDbMode.java +++ b/gerrit-server/src/test/java/com/google/gerrit/testutil/NoteDbMode.java
@@ -34,13 +34,6 @@ /** Changes are created with their primary storage as NoteDb. */ PRIMARY(NotesMigrationState.READ_WRITE_WITH_SEQUENCE_NOTE_DB_PRIMARY), - /** All change tables are entirely disabled. */ - DISABLE_CHANGE_REVIEW_DB(NotesMigrationState.NOTE_DB), - - /** All change tables are entirely disabled, and code/meta ref updates are fused. */ - FUSED(NotesMigrationState.NOTE_DB), - - // TODO(dborowitz): Change CI to use this, then remove FUSED and DISABLE_CHANGE_REVIEW_DB. /** All change tables are entirely disabled, and code/meta ref updates are fused. */ ON(NotesMigrationState.NOTE_DB),