You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by th...@apache.org on 2020/09/02 19:18:14 UTC
[lucene-solr] branch reference_impl_dev updated: Un-ignore example
streaming tests
This is an automated email from the ASF dual-hosted git repository.
thelabdude pushed a commit to branch reference_impl_dev
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/reference_impl_dev by this push:
new 387ca23 Un-ignore example streaming tests
387ca23 is described below
commit 387ca2331a6c8e00538ceb9b7ab0253c10021fd5
Author: Timothy Potter <th...@gmail.com>
AuthorDate: Wed Sep 2 13:17:55 2020 -0600
Un-ignore example streaming tests
---
.../solrj/embedded/SolrExampleStreamingBinaryTest.java | 8 +++-----
.../solrj/embedded/SolrExampleStreamingHttp2Test.java | 3 ---
.../client/solrj/embedded/SolrExampleStreamingTest.java | 14 ++++++--------
3 files changed, 9 insertions(+), 16 deletions(-)
diff --git a/solr/solrj/src/test/org/apache/solr/client/solrj/embedded/SolrExampleStreamingBinaryTest.java b/solr/solrj/src/test/org/apache/solr/client/solrj/embedded/SolrExampleStreamingBinaryTest.java
index 275376c..7bd980a 100644
--- a/solr/solrj/src/test/org/apache/solr/client/solrj/embedded/SolrExampleStreamingBinaryTest.java
+++ b/solr/solrj/src/test/org/apache/solr/client/solrj/embedded/SolrExampleStreamingBinaryTest.java
@@ -16,6 +16,9 @@
*/
package org.apache.solr.client.solrj.embedded;
+import java.util.ArrayList;
+import java.util.List;
+
import org.apache.lucene.util.LuceneTestCase.Slow;
import org.apache.solr.SolrTestCase;
import org.apache.solr.client.solrj.SolrClient;
@@ -27,15 +30,10 @@ import org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrClient;
import org.apache.solr.client.solrj.response.QueryResponse;
import org.apache.solr.common.SolrDocument;
import org.apache.solr.common.SolrInputDocument;
-import org.junit.Ignore;
import org.junit.Test;
-import java.util.ArrayList;
-import java.util.List;
-
@Slow
@SolrTestCase.SuppressSSL(bugUrl = "https://issues.apache.org/jira/browse/SOLR-5776")
-@Ignore // nocommit flakey
public class SolrExampleStreamingBinaryTest extends SolrExampleStreamingTest {
@Override
diff --git a/solr/solrj/src/test/org/apache/solr/client/solrj/embedded/SolrExampleStreamingHttp2Test.java b/solr/solrj/src/test/org/apache/solr/client/solrj/embedded/SolrExampleStreamingHttp2Test.java
index aee370d..6f7e490 100644
--- a/solr/solrj/src/test/org/apache/solr/client/solrj/embedded/SolrExampleStreamingHttp2Test.java
+++ b/solr/solrj/src/test/org/apache/solr/client/solrj/embedded/SolrExampleStreamingHttp2Test.java
@@ -30,10 +30,7 @@ import org.apache.solr.client.solrj.impl.XMLResponseParser;
import org.apache.solr.client.solrj.request.RequestWriter;
import org.apache.solr.client.solrj.request.UpdateRequest;
import org.apache.solr.common.SolrInputDocument;
-import org.junit.BeforeClass;
-import org.junit.Ignore;
-@Ignore // nocommit debug
public class SolrExampleStreamingHttp2Test extends SolrExampleTests {
@Override
diff --git a/solr/solrj/src/test/org/apache/solr/client/solrj/embedded/SolrExampleStreamingTest.java b/solr/solrj/src/test/org/apache/solr/client/solrj/embedded/SolrExampleStreamingTest.java
index 4c2ee07..e65e113 100644
--- a/solr/solrj/src/test/org/apache/solr/client/solrj/embedded/SolrExampleStreamingTest.java
+++ b/solr/solrj/src/test/org/apache/solr/client/solrj/embedded/SolrExampleStreamingTest.java
@@ -16,6 +16,11 @@
*/
package org.apache.solr.client.solrj.embedded;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.EnumSet;
+import java.util.List;
+
import org.apache.lucene.util.LuceneTestCase.Slow;
import org.apache.solr.client.solrj.SolrClient;
import org.apache.solr.client.solrj.SolrExampleTests;
@@ -25,12 +30,6 @@ import org.apache.solr.client.solrj.request.RequestWriter;
import org.apache.solr.client.solrj.request.UpdateRequest;
import org.apache.solr.common.SolrInputDocument;
import org.junit.BeforeClass;
-import org.junit.Ignore;
-
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.EnumSet;
-import java.util.List;
/**
*
@@ -38,13 +37,12 @@ import java.util.List;
* @since solr 1.3
*/
@Slow
-@Ignore // nocommit - flakey
public class SolrExampleStreamingTest extends SolrExampleTests {
protected static JettySolrRunner jetty;
@BeforeClass
- public static void beforeTest() throws Exception {
+ public static void SolrExampleStreamingTest() throws Exception {
jetty = createAndStartJetty(legacyExampleCollection1SolrHome());
}