You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2016/02/11 17:43:04 UTC
[30/31] lucene-solr git commit: mark tests as Nightly
mark tests as Nightly
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/20c38e7b
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/20c38e7b
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/20c38e7b
Branch: refs/heads/master
Commit: 20c38e7b875afd51f6f567e6bb90c6b16daa044c
Parents: 3a47dd2
Author: Mike McCandless <mi...@apache.org>
Authored: Thu Feb 11 04:25:38 2016 -0500
Committer: Mike McCandless <mi...@apache.org>
Committed: Thu Feb 11 04:25:38 2016 -0500
----------------------------------------------------------------------
.../apache/lucene/replicator/nrt/TestNRTReplication.java | 11 +++++++++++
1 file changed, 11 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/20c38e7b/lucene/replicator/src/test/org/apache/lucene/replicator/nrt/TestNRTReplication.java
----------------------------------------------------------------------
diff --git a/lucene/replicator/src/test/org/apache/lucene/replicator/nrt/TestNRTReplication.java b/lucene/replicator/src/test/org/apache/lucene/replicator/nrt/TestNRTReplication.java
index 773390e..955d84e 100644
--- a/lucene/replicator/src/test/org/apache/lucene/replicator/nrt/TestNRTReplication.java
+++ b/lucene/replicator/src/test/org/apache/lucene/replicator/nrt/TestNRTReplication.java
@@ -32,6 +32,7 @@ import java.util.regex.Pattern;
import org.apache.lucene.document.Document;
import org.apache.lucene.util.IOUtils;
import org.apache.lucene.util.LineFileDocs;
+import org.apache.lucene.util.LuceneTestCase.Nightly;
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
import org.apache.lucene.util.LuceneTestCase.SuppressSysoutChecks;
import org.apache.lucene.util.LuceneTestCase;
@@ -202,6 +203,7 @@ public class TestNRTReplication extends LuceneTestCase {
docs.close();
}
+ @Nightly
public void testReplicateDeleteAllDocuments() throws Exception {
Path primaryPath = createTempDir("primary");
@@ -272,6 +274,7 @@ public class TestNRTReplication extends LuceneTestCase {
primary.close();
}
+ @Nightly
public void testReplicateForceMerge() throws Exception {
Path primaryPath = createTempDir("primary");
@@ -321,6 +324,7 @@ public class TestNRTReplication extends LuceneTestCase {
}
// Start up, index 10 docs, replicate, but crash and restart the replica without committing it:
+ @Nightly
public void testReplicaCrashNoCommit() throws Exception {
Path primaryPath = createTempDir("primary");
@@ -366,6 +370,7 @@ public class TestNRTReplication extends LuceneTestCase {
}
// Start up, index 10 docs, replicate, commit, crash and restart the replica
+ @Nightly
public void testReplicaCrashWithCommit() throws Exception {
Path primaryPath = createTempDir("primary");
@@ -408,6 +413,7 @@ public class TestNRTReplication extends LuceneTestCase {
}
// Start up, index 10 docs, replicate, commit, crash, index more docs, replicate, then restart the replica
+ @Nightly
public void testIndexingWhileReplicaIsDown() throws Exception {
Path primaryPath = createTempDir("primary");
@@ -472,6 +478,7 @@ public class TestNRTReplication extends LuceneTestCase {
}
// Crash primary and promote a replica
+ @Nightly
public void testCrashPrimary1() throws Exception {
Path path1 = createTempDir("1");
@@ -515,6 +522,7 @@ public class TestNRTReplication extends LuceneTestCase {
}
// Crash primary and then restart it
+ @Nightly
public void testCrashPrimary2() throws Exception {
Path path1 = createTempDir("1");
@@ -581,6 +589,7 @@ public class TestNRTReplication extends LuceneTestCase {
}
// Crash primary and then restart it, while a replica node is down, then bring replica node back up and make sure it properly "unforks" itself
+ @Nightly
public void testCrashPrimary3() throws Exception {
Path path1 = createTempDir("1");
@@ -639,6 +648,7 @@ public class TestNRTReplication extends LuceneTestCase {
replica.close();
}
+ @Nightly
public void testCrashPrimaryWhileCopying() throws Exception {
Path path1 = createTempDir("1");
@@ -747,6 +757,7 @@ public class TestNRTReplication extends LuceneTestCase {
primary.close();
}
+ @Nightly
public void testFullClusterCrash() throws Exception {
Path path1 = createTempDir("1");