You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/08/20 07:57:00 UTC

[jira] [Commented] (SOLR-12680) Fix ClassCastException and AIOOBE in TestSolrConfigHandlerConcurrent

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

ASF subversion and git services commented on SOLR-12680:
--------------------------------------------------------

Commit 20d0f67edd15b03a072e745373297c1886d72f24 in lucene-solr's branch refs/heads/master from [~shalinmangar]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=20d0f67 ]

SOLR-12680: Fix ClassCastException and AIOOBE in TestSolrConfigHandlerConcurrent


> Fix ClassCastException and AIOOBE in TestSolrConfigHandlerConcurrent
> --------------------------------------------------------------------
>
>                 Key: SOLR-12680
>                 URL: https://issues.apache.org/jira/browse/SOLR-12680
>             Project: Solr
>          Issue Type: Test
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Tests
>    Affects Versions: 7.4
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>            Priority: Minor
>             Fix For: master (8.0), 7.5
>
>         Attachments: SOLR-12680.patch
>
>
> Noticed some weird errors in the logs for TestSolrConfigHandlerConcurrent:
> # Test starts a thread to change each cache listed in the query section of the config but 4 of the keys inside the query section do not contain a cache definition at all. The thread would start and immediately exit when trying to cast the long value to a Map.
> # The second half of the {{invokeBulkCall}} method is never executed because it tried to do {{      String url = urls.get(urls.size());}} which will always result in an AIOOBE and the thread would (silently exit)
> # The second half also contained a bug where a string was being asserted to be equal to a long object so after fixing #2 above, the test always failed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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