[
https://issues.apache.org/jira/browse/SOLR-12680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16585573#comment-16585573
]
ASF subversion and git services commented on SOLR-12680:
--------------------------------------------------------
Commit 797883c779b44a281984dd7d5f401bb4057a9428 in lucene-solr's branch
refs/heads/branch_7x from [~shalinmangar]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=797883c ]
SOLR-12680: Fix ClassCastException and AIOOBE in TestSolrConfigHandlerConcurrent
(cherry picked from commit 20d0f67edd15b03a072e745373297c1886d72f24)
> 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: [email protected]
For additional commands, e-mail: [email protected]