You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ds...@apache.org on 2021/04/21 18:23:37 UTC

[solr] branch main updated: SOLR-15341: indexHeapUsageBytes is no longer populated

This is an automated email from the ASF dual-hosted git repository.

dsmiley pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new 7877c91  SOLR-15341: indexHeapUsageBytes is no longer populated
7877c91 is described below

commit 7877c914b9035422e380251be42948b924fe72fa
Author: David Smiley <ds...@salesforce.com>
AuthorDate: Wed Apr 21 14:23:23 2021 -0400

    SOLR-15341: indexHeapUsageBytes is no longer populated
---
 .../org/apache/solr/handler/admin/LukeRequestHandlerTest.java | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/solr/core/src/test/org/apache/solr/handler/admin/LukeRequestHandlerTest.java b/solr/core/src/test/org/apache/solr/handler/admin/LukeRequestHandlerTest.java
index 8065f55..e71db79 100644
--- a/solr/core/src/test/org/apache/solr/handler/admin/LukeRequestHandlerTest.java
+++ b/solr/core/src/test/org/apache/solr/handler/admin/LukeRequestHandlerTest.java
@@ -145,17 +145,6 @@ public class LukeRequestHandlerTest extends SolrTestCaseJ4 {
   private static String dynfield(String field) {
     return "//lst[@name='dynamicFields']/lst[@name='"+field+"']/";
   }
-  
-  @Test
-  public void testIndexHeapUsageBytes() throws Exception {
-    try (SolrQueryRequest req = req("qt", "/admin/luke")) {
-      String response = h.query(req);
-      String xpath = "//long[@name='indexHeapUsageBytes']";
-      Double num = (Double) TestHarness.evaluateXPath(response, xpath, XPathConstants.NUMBER);
-      //with docs in the index, indexHeapUsageBytes should be greater than 0
-      Assert.assertTrue("indexHeapUsageBytes should be > 0, but was " + num.intValue(), num.intValue() > 0);
-    }
-  }
 
   @Test
   public void testFlParam() {