Disable hashtag tests under GERRIT_NOTEDB=write
For hashtags we require reading changes to be enabled; we will still get no values if only writing is enabled, but notesMigration() will still be true in that case. Change-Id: I60dbdf94227a7deb28adfc06a4a9f14b91fc129d
This commit is contained in:
@@ -1071,7 +1071,7 @@ public abstract class AbstractQueryChangesTest extends GerritServerTests {
|
||||
|
||||
@Test
|
||||
public void byHashtagWithNoteDb() throws Exception {
|
||||
assume().that(notesMigration.enabled()).isTrue();
|
||||
assume().that(notesMigration.readChanges()).isTrue();
|
||||
List<Change> changes = setUpHashtagChanges();
|
||||
assertQuery("hashtag:foo", changes.get(1), changes.get(0));
|
||||
assertQuery("hashtag:bar", changes.get(1));
|
||||
|
||||
Reference in New Issue
Block a user