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:58:36 UTC

[solr] branch branch_9x 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 branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/branch_9x by this push:
     new 85772c206f7 SOLR-16412: Fix TestSizeLimitedDistributedMap LinkedList compilation error
85772c206f7 is described below

commit 85772c206f75ea44e267b7679b724f4f65ab40be
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)) {