[
https://issues.apache.org/jira/browse/SOLR-7362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Varun Thacker updated SOLR-7362:
--------------------------------
Attachment: SOLR-7362.patch
Test which moves the creation of request handlers to the start. Adding a
request handler calls a core reload and incoming requests might not see the
latest state.
The race condition still exits. If we want to address that we should deal with
it in another Jira and have a better concurrent test for validating it.
For now this should fix the test failures. I'll commit this to master and track
Jenkins failures for it.
Other minor changes:
Renamed checkStale -> isStale
minor logging changes
> TestReqParamsAPI failing in jenkins
> -----------------------------------
>
> Key: SOLR-7362
> URL: https://issues.apache.org/jira/browse/SOLR-7362
> Project: Solr
> Issue Type: Bug
> Reporter: Noble Paul
> Assignee: Noble Paul
> Attachments: SOLR-7362.patch
>
>
> {noformat}
> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Windows/4645/
> Java: 32bit/jdk1.8.0_40 -server -XX:+UseSerialGC
> 1 tests failed.
> FAILED: org.apache.solr.handler.TestReqParamsAPI.test
> Error Message:
> Could not get expected value 'null' for path 'response/params/y/p' full
> output: { "responseHeader":{ "status":0, "QTime":1}, "response":{
> "znodeVersion":3, "params":{ "x":{ "a":"A val",
> "b":"B val", "":{"v":0}}, "y":{ "p":"P val",
> "q":"Q val", "":{"v":0}}}}}
> Stack Trace:
> java.lang.AssertionError: Could not get expected value 'null' for path
> 'response/params/y/p' full output: {
> "responseHeader":{
> "status":0,
> "QTime":1},
> "response":{
> "znodeVersion":3,
> "params":{
> "x":{
> "a":"A val",
> "b":"B val",
> "":{"v":0}},
> "y":{
> "p":"P val",
> "q":"Q val",
> "":{"v":0}}}}}
> at
> __randomizedtesting.SeedInfo.seed([D0DB18ECE165C505:588F27364F99A8FD]:0)
> at org.junit.Assert.fail(Assert.java:93)
> at org.junit.Assert.assertTrue(Assert.java:43)
> at
> org.apache.solr.core.TestSolrConfigHandler.testForResponseElement(TestSolrConfigHandler.java:405)
> at
> org.apache.solr.handler.TestReqParamsAPI.testReqParams(TestReqParamsAPI.java:236)
> at
> org.apache.solr.handler.TestReqParamsAPI.test(TestReqParamsAPI.java:71)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]