You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2018/08/20 07:58:00 UTC
[jira] [Resolved] (SOLR-12680) Fix ClassCastException and AIOOBE in
TestSolrConfigHandlerConcurrent
[ https://issues.apache.org/jira/browse/SOLR-12680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shalin Shekhar Mangar resolved SOLR-12680.
------------------------------------------
Resolution: Fixed
> 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