From baf2b785af3ce4ba21d09d8415c74b14671b9499 Mon Sep 17 00:00:00 2001 From: Yonik Seeley Date: Thu, 11 Aug 2011 12:37:02 +0000 Subject: [PATCH] tests: don't compare response header git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1156597 13f79535-47bb-0310-9956-ffa450edef68 --- .../test/org/apache/solr/handler/TestReplicationHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java b/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java index 71095b17560..7ade3138819 100644 --- a/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java +++ b/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java @@ -628,7 +628,7 @@ public class TestReplicationHandler extends SolrTestCaseJ4 { reloadCore(masterClient, "collection1"); assertEquals(version, getIndexVersion(masterClient).get("indexversion")); - assertEquals(commits, getCommits(masterClient)); + assertEquals(commits.get("commits"), getCommits(masterClient).get("commits")); index(masterClient, "id", 110, "name", "name = 1"); index(masterClient, "id", 120, "name", "name = 2");