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:
Dave Borowitz
2016-05-05 17:50:42 -04:00
parent 071e32506b
commit c2ca86c10a
3 changed files with 6 additions and 8 deletions

View File

@@ -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";