You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Mike Drob (Jira)" <ji...@apache.org> on 2022/01/13 16:39:00 UTC

[jira] [Created] (SOLR-15922) SolrExporterIntegrationTest fails on Java 17

Mike Drob created SOLR-15922:
--------------------------------

             Summary: SolrExporterIntegrationTest fails on Java 17
                 Key: SOLR-15922
                 URL: https://issues.apache.org/jira/browse/SOLR-15922
             Project: Solr
          Issue Type: Task
          Components: contrib - prometheus-exporter, Tests
            Reporter: Mike Drob


{{gradlew test --tests SolrExporterIntegrationTest.solrExporterDurationMetric -Dtests.seed=2604C3F34A214F5C}}

This passes for me on Java 11 but fails consistently with Java 17
{noformat}
   >     java.lang.AssertionError: Metric must have name and value: solr_metrics_jvm_buffers{pool="mapped - 'non-volatile memory'",base_url="http://127.0.0.1:57657/solr",} 0.0 expected:<2> but was:<5>
   >         at __randomizedtesting.SeedInfo.seed([2604C3F34A214F5C:9D01B8BFD4BC7AAF]:0)
   >         at org.junit.Assert.fail(Assert.java:89)
   >         at org.junit.Assert.failNotEquals(Assert.java:835)
   >         at org.junit.Assert.assertEquals(Assert.java:647)
   >         at org.apache.solr.prometheus.exporter.SolrExporterTestBase.getAllMetrics(SolrExporterTestBase.java:110)
   >         at org.apache.solr.prometheus.exporter.SolrExporterTestBase.startMetricsExporterWithConfiguration(SolrExporterTestBase.java:79)
   >         at org.apache.solr.prometheus.exporter.SolrExporterIntegrationTest.setUp(SolrExporterIntegrationTest.java:34) {noformat}

Looks like some of the formatting changed between internals?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org