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:10:45 UTC

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


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

commit c9bd7cedc270fc08b480b229930dc456a5cfdd88
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
    
    (cherry picked from commit 33e44b2fd6973aa801d8bad2b64ff1931d885ee3)
---
 .../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 cfeaaa0..cae0629 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 {