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

Mark Miller commented on SOLR-6917:
-----------------------------------

If you are having trouble testing fixes for this test, rather than just trying 
single commits for the jenkins tester to take a shot on, I wrote this script to 
help with local test hardening: 
https://gist.github.com/markrmiller/dbdb792216dc98b018ad

If you run the same test n times in parallel for long enough, these fails tend 
to fall out easily. Once this script works without fail (with aggressive 
settings), the jenkins cluster will generally work without fail.

> TestDynamicLoading fails frequently.
> ------------------------------------
>
>                 Key: SOLR-6917
>                 URL: https://issues.apache.org/jira/browse/SOLR-6917
>             Project: Solr
>          Issue Type: Test
>            Reporter: Mark Miller
>            Assignee: Noble Paul
>            Priority: Minor
>
> most recent failure:
> {noformat}
>    [junit4] FAILURE 39.7s J5 | TestDynamicLoading.testDistribSearch <<<
>    [junit4]    > Throwable #1: java.lang.AssertionError: New version of class 
> is not loaded {
>    [junit4]    >   "responseHeader":{
>    [junit4]    >     "status":404,
>    [junit4]    >     "QTime":2},
>    [junit4]    >   "error":{
>    [junit4]    >     "msg":"no such blob or version available: test/2",
>    [junit4]    >     "code":404}}
>    [junit4]    >      at 
> __randomizedtesting.SeedInfo.seed([B49634A982DC7AFE:3570BAB1F5831AC2]:0)
>    [junit4]    >      at 
> org.apache.solr.core.TestDynamicLoading.dynamicLoading(TestDynamicLoading.java:154)
>    [junit4]    >      at 
> org.apache.solr.core.TestDynamicLoading.doTest(TestDynamicLoading.java:64)
>    [junit4]    >      at 
> org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:868)
>    [junit4]    >      at java.lang.Thread.run(Thread.java:745)
> {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]

Reply via email to