You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by no...@apache.org on 2018/10/27 00:12:11 UTC
lucene-solr:master: SOLR-12868: test was making wrong assumption
Repository: lucene-solr
Updated Branches:
refs/heads/master 0c8675dcc -> a29880251
SOLR-12868: test was making wrong assumption
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/a2988025
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/a2988025
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/a2988025
Branch: refs/heads/master
Commit: a298802516ad3e4ff7445ea0ccbbc06b150042fd
Parents: 0c8675d
Author: Noble Paul <no...@apache.org>
Authored: Sat Oct 27 11:10:59 2018 +1100
Committer: Noble Paul <no...@apache.org>
Committed: Sat Oct 27 11:11:54 2018 +1100
----------------------------------------------------------------------
.../test/org/apache/solr/client/solrj/request/TestV2Request.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/a2988025/solr/solrj/src/test/org/apache/solr/client/solrj/request/TestV2Request.java
----------------------------------------------------------------------
diff --git a/solr/solrj/src/test/org/apache/solr/client/solrj/request/TestV2Request.java b/solr/solrj/src/test/org/apache/solr/client/solrj/request/TestV2Request.java
index 4aa1b64..0cafc63 100644
--- a/solr/solrj/src/test/org/apache/solr/client/solrj/request/TestV2Request.java
+++ b/solr/solrj/src/test/org/apache/solr/client/solrj/request/TestV2Request.java
@@ -102,7 +102,7 @@ public class TestV2Request extends SolrCloudTestCase {
assertSuccess(client, new V2Request.Builder("/c/test").withMethod(SolrRequest.METHOD.DELETE).build());
NamedList<Object> res = client.request(new V2Request.Builder("/c").build());
List collections = (List) res.get("collections");
- assertEquals(0, collections.size());
+ assertFalse( collections.contains("test"));
}