You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ho...@apache.org on 2019/12/17 18:00:13 UTC

[lucene-solr] branch master updated: SOLR-13696: AwaitsFix RoutedAliasUpdateProcessorTest (and subclasses)

This is an automated email from the ASF dual-hosted git repository.

hossman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/master by this push:
     new 33e44b2  SOLR-13696: AwaitsFix RoutedAliasUpdateProcessorTest (and subclasses)
33e44b2 is described below

commit 33e44b2fd6973aa801d8bad2b64ff1931d885ee3
Author: Chris Hostetter <ho...@apache.org>
AuthorDate: Tue Dec 17 11:00:03 2019 -0700

    SOLR-13696: AwaitsFix RoutedAliasUpdateProcessorTest (and subclasses)
    
    The helper method RoutedAliasUpdateProcessorTest.addDocsAndCommit doesn't garuntee docs have been committed when it returns, causing threading/timing bugs in tests that use it as a gate for making subsequent assertions -- causing a steady stream of jenkins test failures
---
 .../org/apache/solr/update/processor/RoutedAliasUpdateProcessorTest.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/solr/core/src/test/org/apache/solr/update/processor/RoutedAliasUpdateProcessorTest.java b/solr/core/src/test/org/apache/solr/update/processor/RoutedAliasUpdateProcessorTest.java
index f751066..fc34684 100644
--- a/solr/core/src/test/org/apache/solr/update/processor/RoutedAliasUpdateProcessorTest.java
+++ b/solr/core/src/test/org/apache/solr/update/processor/RoutedAliasUpdateProcessorTest.java
@@ -61,6 +61,7 @@ import org.junit.Ignore;
 
 import static java.util.concurrent.TimeUnit.NANOSECONDS;
 
+@org.apache.lucene.util.LuceneTestCase.AwaitsFix(bugUrl="https://issues.apache.org/jira/browse/SOLR-13696")
 @Ignore  // don't try too run abstract base class
 public abstract class RoutedAliasUpdateProcessorTest extends SolrCloudTestCase {