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:
@@ -399,9 +399,8 @@ public abstract class AbstractPushForReview extends AbstractDaemonTest {
|
||||
|
||||
@Test
|
||||
public void testPushForMasterWithHashtags() throws Exception {
|
||||
|
||||
// Hashtags currently only work when noteDB is enabled
|
||||
assume().that(notesMigration.enabled()).isTrue();
|
||||
// Hashtags only work when reading from NoteDB is enabled
|
||||
assume().that(notesMigration.readChanges()).isTrue();
|
||||
|
||||
// specify a single hashtag as option
|
||||
String hashtag1 = "tag1";
|
||||
@@ -427,9 +426,8 @@ public abstract class AbstractPushForReview extends AbstractDaemonTest {
|
||||
|
||||
@Test
|
||||
public void testPushForMasterWithMultipleHashtags() throws Exception {
|
||||
|
||||
// Hashtags currently only work when noteDB is enabled
|
||||
assume().that(notesMigration.enabled()).isTrue();
|
||||
// Hashtags only work when reading from NoteDB is enabled
|
||||
assume().that(notesMigration.readChanges()).isTrue();
|
||||
|
||||
// specify multiple hashtags as options
|
||||
String hashtag1 = "tag1";
|
||||
|
Reference in New Issue
Block a user