You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by da...@apache.org on 2019/07/03 11:37:11 UTC
[lucene-solr] branch branch_8_1 updated (0a3501a -> bb79323)
This is an automated email from the ASF dual-hosted git repository.
datcm pushed a change to branch branch_8_1
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git.
from 0a3501a SOLR-13583: Impossible to delete a collection with the same name as an existing alias.
new 411a7c1 Increse timeout for AutoAddReplicasIntegrationTest
new bb79323 Response of query *:* in PeerSyncTest must be sorted to be compared
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../apache/solr/cloud/autoscaling/AutoAddReplicasIntegrationTest.java | 4 ++--
solr/core/src/test/org/apache/solr/update/PeerSyncTest.java | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
[lucene-solr] 01/02: Increse timeout for
AutoAddReplicasIntegrationTest
Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
datcm pushed a commit to branch branch_8_1
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
commit 411a7c13eab9a75dd7e9858a3a0ef0b3307cdc87
Author: Cao Manh Dat <da...@apache.org>
AuthorDate: Wed Jul 3 18:32:42 2019 +0700
Increse timeout for AutoAddReplicasIntegrationTest
---
.../apache/solr/cloud/autoscaling/AutoAddReplicasIntegrationTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/solr/core/src/test/org/apache/solr/cloud/autoscaling/AutoAddReplicasIntegrationTest.java b/solr/core/src/test/org/apache/solr/cloud/autoscaling/AutoAddReplicasIntegrationTest.java
index ce6e48e..4469fce 100644
--- a/solr/core/src/test/org/apache/solr/cloud/autoscaling/AutoAddReplicasIntegrationTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/autoscaling/AutoAddReplicasIntegrationTest.java
@@ -165,8 +165,8 @@ public class AutoAddReplicasIntegrationTest extends SolrCloudTestCase {
cluster.waitForJettyToStop(jetty2);
waitForNodeLeave(lostNodeName);
- waitForState("Waiting for collection " + COLLECTION1, COLLECTION1, clusterShape(2, 4), 45, TimeUnit.SECONDS);
- waitForState("Waiting for collection " + COLLECTION2, COLLECTION2, clusterShape(2, 4), 45, TimeUnit.SECONDS);
+ waitForState("Waiting for collection " + COLLECTION1, COLLECTION1, clusterShape(2, 4), 90, TimeUnit.SECONDS);
+ waitForState("Waiting for collection " + COLLECTION2, COLLECTION2, clusterShape(2, 4), 90, TimeUnit.SECONDS);
checkSharedFsReplicasMovedCorrectly(replacedHdfsReplicas, zkStateReader, COLLECTION2);
// overseer failover test..
[lucene-solr] 02/02: Response of query *:* in PeerSyncTest must be
sorted to be compared
Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
datcm pushed a commit to branch branch_8_1
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
commit bb79323be9a77ffd3c092779704be6763e5b6bfe
Author: Cao Manh Dat <da...@apache.org>
AuthorDate: Wed Jul 3 18:37:04 2019 +0700
Response of query *:* in PeerSyncTest must be sorted to be compared
---
solr/core/src/test/org/apache/solr/update/PeerSyncTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/solr/core/src/test/org/apache/solr/update/PeerSyncTest.java b/solr/core/src/test/org/apache/solr/update/PeerSyncTest.java
index 9e6fd60..c820d0e 100644
--- a/solr/core/src/test/org/apache/solr/update/PeerSyncTest.java
+++ b/solr/core/src/test/org/apache/solr/update/PeerSyncTest.java
@@ -94,14 +94,14 @@ public class PeerSyncTest extends BaseDistributedSearchTestCase {
assertSync(client1, numVersions, true, shardsArr[0]);
// TODO: test that updates weren't necessary
- client0.commit(); client1.commit(); queryAndCompare(params("q", "*:*"), client0, client1);
+ client0.commit(); client1.commit(); queryAndCompare(params("q", "*:*","sort","_version_ desc"), client0, client1);
add(client0, seenLeader, addRandFields(sdoc("id","2","_version_",++v)));
// now client1 has the context to sync
assertSync(client1, numVersions, true, shardsArr[0]);
- client0.commit(); client1.commit(); queryAndCompare(params("q", "*:*"), client0, client1);
+ client0.commit(); client1.commit(); queryAndCompare(params("q", "*:*","sort","_version_ desc"), client0, client1);
add(client0, seenLeader, addRandFields(sdoc("id","3","_version_",++v)));
add(client0, seenLeader, addRandFields(sdoc("id","4","_version_",++v)));