You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by kr...@apache.org on 2022/10/26 01:51:10 UTC
[solr] branch main updated: SOLR-16412: Fix TestSizeLimitedDistributedMap LinkedList compilation error
This is an automated email from the ASF dual-hosted git repository.
krisden pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new 2f6818886e9 SOLR-16412: Fix TestSizeLimitedDistributedMap LinkedList compilation error
2f6818886e9 is described below
commit 2f6818886e90f8edebf3b71e0a96ccc0c9b6947e
Author: Kevin Risden <kr...@apache.org>
AuthorDate: Tue Oct 25 21:49:20 2022 -0400
SOLR-16412: Fix TestSizeLimitedDistributedMap LinkedList compilation error
---
.../src/test/org/apache/solr/cloud/TestSizeLimitedDistributedMap.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/solr/core/src/test/org/apache/solr/cloud/TestSizeLimitedDistributedMap.java b/solr/core/src/test/org/apache/solr/cloud/TestSizeLimitedDistributedMap.java
index e158c09309a..7c63d6a1ad9 100644
--- a/solr/core/src/test/org/apache/solr/cloud/TestSizeLimitedDistributedMap.java
+++ b/solr/core/src/test/org/apache/solr/cloud/TestSizeLimitedDistributedMap.java
@@ -74,7 +74,7 @@ public class TestSizeLimitedDistributedMap extends TestDistributedMap {
public void testConcurrentCleanup() throws Exception {
final Set<String> expectedKeys = new HashSet<>();
- final List<String> deletedItems = new LinkedList<>();
+ final List<String> deletedItems = new ArrayList<>();
int numResponsesToStore = TEST_NIGHTLY ? Overseer.NUM_RESPONSES_TO_STORE : 100;
try (SolrZkClient zkClient = new SolrZkClient(zkServer.getZkHost(), 10000)) {