You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2020/09/15 22:43:07 UTC
[lucene-solr] branch reference_impl_dev updated: @833 Try bumping
up docs from 10 - 15 to avoid rare single route fail.
This is an automated email from the ASF dual-hosted git repository.
markrmiller 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 97e010a @833 Try bumping up docs from 10 - 15 to avoid rare single route fail.
97e010a is described below
commit 97e010a95744618da275bfbe0b4d861317721452
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Tue Sep 15 17:42:30 2020 -0500
@833 Try bumping up docs from 10 - 15 to avoid rare single route fail.
---
.../solr/client/solrj/impl/CloudHttp2SolrClientWireMockTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudHttp2SolrClientWireMockTest.java b/solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudHttp2SolrClientWireMockTest.java
index 92f8150..0a0e14a 100644
--- a/solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudHttp2SolrClientWireMockTest.java
+++ b/solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudHttp2SolrClientWireMockTest.java
@@ -90,7 +90,7 @@ public class CloudHttp2SolrClientWireMockTest extends BaseSolrClientWireMockTest
final String shard1Route = mockSolr.baseUrl()+SHARD1_PATH+"/";
final String shard2Route = mockSolr.baseUrl()+SHARD2_PATH+"/";
- UpdateRequest ur = buildUpdateRequest(10);
+ UpdateRequest ur = buildUpdateRequest(15);
Map<String,List<String>> urlMap = testClient.buildUrlMap(mockDocCollection, new ShufflingReplicaListTransformer(random()));
assertEquals(2, urlMap.size());
List<String> shard1 = urlMap.get("shard1");
@@ -110,7 +110,7 @@ public class CloudHttp2SolrClientWireMockTest extends BaseSolrClientWireMockTest
final String threadName = Thread.currentThread().getName();
ur = new UpdateRequest();
- for (int i=0; i < 10; i++) {
+ for (int i=0; i < 15; i++) {
ur.deleteById(threadName+1000+i);
}
routes = ur.getRoutesToCollection(mockDocCollection.getRouter(), mockDocCollection, urlMap, ur.getParams(), "id");