Skip to content

Commit

Permalink
SOLR-15341: indexHeapUsageBytes is no longer populated
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmiley committed Apr 21, 2021
1 parent 3672c33 commit 7877c91
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,17 +145,6 @@ private static String field(String field) {
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() {
Expand Down

0 comments on commit 7877c91

Please sign in to comment.