[ 
https://issues.apache.org/jira/browse/SOLR-11088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16088794#comment-16088794
 ] 

Shalin Shekhar Mangar commented on SOLR-11088:
----------------------------------------------

The problem here is that the test fetches {{prefix=CACHE.searcher}} from the 
metrics handler and according to the logs, the searcher hasn't been registered 
before the test ran. So it fails after finding that the core stats being 
registered are null. It should be easy to fix by making a query to the core 
(which can only return after a searcher is registered) and then calling metrics 
handler.

> MetricsHandlerTest.testPropertyFilter failures on jenkins
> ---------------------------------------------------------
>
>                 Key: SOLR-11088
>                 URL: https://issues.apache.org/jira/browse/SOLR-11088
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Tests
>            Reporter: Shalin Shekhar Mangar
>            Priority: Minor
>             Fix For: master (8.0), 7.1
>
>
> This test fails sporadically on jenkins on all branches.
> {code}
> Build: https://jenkins.thetaphi.de/job/Lucene-Solr-7.0-Linux/26/
> Java: 32bit/jdk-9-ea+175 -client -XX:+UseG1GC --illegal-access=deny
> 1 tests failed.
> FAILED:  org.apache.solr.handler.admin.MetricsHandlerTest.testPropertyFilter
> Error Message:
> Stack Trace:
> java.lang.AssertionError
>         at 
> __randomizedtesting.SeedInfo.seed([B82CD91875945ACD:DA412759BA1A3AF3]:0)
>         at org.junit.Assert.fail(Assert.java:92)
>         at org.junit.Assert.assertTrue(Assert.java:43)
>         at org.junit.Assert.assertNotNull(Assert.java:526)
>         at org.junit.Assert.assertNotNull(Assert.java:537)
>         at 
> org.apache.solr.handler.admin.MetricsHandlerTest.testPropertyFilter(MetricsHandlerTest.java:201)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to