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 2023/03/24 03:46:02 UTC

[solr] branch main updated: SOLR-16664: Add missing Thread.sleep

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 d8f57f084d5 SOLR-16664: Add missing Thread.sleep
d8f57f084d5 is described below

commit d8f57f084d59f2e4b5a74dbe772d6af09a21dbb8
Author: Kevin Risden <kr...@apache.org>
AuthorDate: Thu Mar 23 23:44:37 2023 -0400

    SOLR-16664: Add missing Thread.sleep
---
 solr/core/src/test/org/apache/solr/search/TestCoordinatorRole.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/solr/core/src/test/org/apache/solr/search/TestCoordinatorRole.java b/solr/core/src/test/org/apache/solr/search/TestCoordinatorRole.java
index 888a05c6376..d164a7b1bbc 100644
--- a/solr/core/src/test/org/apache/solr/search/TestCoordinatorRole.java
+++ b/solr/core/src/test/org/apache/solr/search/TestCoordinatorRole.java
@@ -208,6 +208,7 @@ public class TestCoordinatorRole extends SolrCloudTestCase {
                     qaJettyBase,
                     p -> p.add(ShardParams.SHARDS_PREFERENCE, "replica.type:NRT")))) {
           count++;
+          Thread.sleep(100);
           individualRequestStart = new Date().getTime();
         }
         long now = new Date().getTime();