Uploaded image for project: 'Rya'
  1. Rya
  2. RYA-398

MongoEntityIndexTest does not run in isolation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.11
    • 3.2.12
    • build
    • None

    Description

      Probably just need to change the annotation @BeforeClass to @Before

      Also, there may be a Mongo Test that is not cleaning up after itself causing this flakiness.

      This execution order fails:

      Running org.apache.rya.accumulo.documentIndex.DocumentIndexIntersectingIteratorTest
      Running org.apache.rya.indexing.external.PrecompJoinOptimizerTest
      Running org.apache.rya.indexing.external.PrecompJoinOptimizerVarToConstTest
      Running org.apache.rya.indexing.external.PrecomputedJoinStorageSupplierTest
      Running org.apache.rya.indexing.external.tupleSet.AccumuloIndexSetColumnVisibilityTest
      Running org.apache.rya.indexing.external.tupleSet.SimpleExternalTupleSetTest
      Running org.apache.rya.indexing.external.tupleSet.VarConstQueryVariableNormalizerTest
      Running org.apache.rya.indexing.external.tupleSet.QueryVariableNormalizerTest
      Running org.apache.rya.indexing.external.tupleSet.ParsedQueryUtilTest
      Running org.apache.rya.indexing.external.tupleSet.AccumuloIndexSetTest
      Running org.apache.rya.indexing.external.PrecomputedJoinUpdaterSupplierTest
      Running org.apache.rya.indexing.mongo.MongoEntityIndexTest
      Running org.apache.rya.indexing.mongo.MongoIndexingConfigurationTest
      Running org.apache.rya.indexing.mongo.MongoTemporalIndexerTest
      Running org.apache.rya.indexing.mongo.MongoFreeTextIndexerTest
      Running org.apache.rya.indexing.smarturi.duplication.DuplicateDataDetectorTest
      Running org.apache.rya.indexing.IndexPlanValidator.ThreshholdPlanSelectorTest
      Running org.apache.rya.indexing.IndexPlanValidator.GeneralizedExternalProcessorTest
      Running org.apache.rya.indexing.IndexPlanValidator.VarConstantIndexListPrunerTest
      Running org.apache.rya.indexing.IndexPlanValidator.TupleReArrangerTest
      Running org.apache.rya.indexing.IndexPlanValidator.ValidIndexCombinationGeneratorTest
      Running org.apache.rya.indexing.IndexPlanValidator.IndexPlanValidatorTest
      Running org.apache.rya.indexing.IndexPlanValidator.TupleExecutionPlanGeneratorTest
      Running org.apache.rya.indexing.IndexPlanValidator.IndexedExecutionPlanGeneratorTest
      Running org.apache.rya.indexing.statement.metadata.StatementMetadataExternalSetProviderTest
      Running org.apache.rya.indexing.statement.metadata.MongoStatementMetadataNodeTest
      Running org.apache.rya.indexing.statement.metadata.AccumuloStatementMetadataNodeTest
      Running org.apache.rya.indexing.statement.metadata.StatementMetadataOptimizerTest
      Running org.apache.rya.indexing.entity.storage.mongo.EntityDocumentConverterTest
      Running org.apache.rya.indexing.entity.storage.mongo.RyaTypeDocumentConverterTest
      Running org.apache.rya.indexing.entity.storage.mongo.TypeDocumentConverterTest
      Running org.apache.rya.indexing.entity.query.EntityQueryNodeTest
      Running org.apache.rya.indexing.accumulo.StatementSerializerTest
      Running org.apache.rya.indexing.accumulo.freetext.AccumuloFreeTextIndexerTest
      Running org.apache.rya.indexing.accumulo.freetext.query.QueryParserTest
      Running org.apache.rya.indexing.accumulo.temporal.TemporalInstantTest
      Running org.apache.rya.indexing.accumulo.temporal.TemporalIntervalTest
      Running org.apache.rya.indexing.accumulo.temporal.AccumuloTemporalIndexerTest
      Running org.apache.rya.indexing.accumulo.AccumuloIndexingConfigurationTest
      Running org.apache.rya.indexing.accumulo.entity.EntityCentricIndexTest
      Running org.apache.rya.indexing.accumulo.entity.EntityOptimizerTest
      Running org.apache.rya.indexing.accumulo.entity.AccumuloDocIndexerTest
      Running org.apache.rya.indexing.accumulo.entity.StarQueryTest
      Running org.apache.rya.indexing.pcj.matching.JoinSegmentPCJMatcherTest
      Running org.apache.rya.indexing.pcj.matching.PCJOptimizerTest
      Running org.apache.rya.indexing.pcj.matching.FlattenedOptionalTest
      Running org.apache.rya.indexing.pcj.matching.PCJNodeConsolidatorTest
      Running org.apache.rya.indexing.pcj.matching.OptionalJoinSegmentTest
      Running org.apache.rya.indexing.pcj.matching.JoinSegmentTest
      Running org.apache.rya.indexing.pcj.matching.PCJOptimizerUtilitesTest
      Running org.apache.rya.indexing.pcj.matching.OptionalJoinSegmentPCJMatcherTest
      Running org.apache.rya.sail.config.RyaAccumuloSailFactoryTest
      

      This execution order passes:

      Running org.apache.rya.sail.config.RyaAccumuloSailFactoryTest
      Running org.apache.rya.indexing.entity.query.EntityQueryNodeTest
      Running org.apache.rya.indexing.entity.storage.mongo.EntityDocumentConverterTest
      Running org.apache.rya.indexing.entity.storage.mongo.TypeDocumentConverterTest
      Running org.apache.rya.indexing.entity.storage.mongo.RyaTypeDocumentConverterTest
      Running org.apache.rya.indexing.IndexPlanValidator.IndexPlanValidatorTest
      Running org.apache.rya.indexing.IndexPlanValidator.IndexedExecutionPlanGeneratorTest
      Running org.apache.rya.indexing.IndexPlanValidator.ThreshholdPlanSelectorTest
      Running org.apache.rya.indexing.IndexPlanValidator.TupleExecutionPlanGeneratorTest
      Running org.apache.rya.indexing.IndexPlanValidator.VarConstantIndexListPrunerTest
      Running org.apache.rya.indexing.IndexPlanValidator.GeneralizedExternalProcessorTest
      Running org.apache.rya.indexing.IndexPlanValidator.TupleReArrangerTest
      Running org.apache.rya.indexing.IndexPlanValidator.ValidIndexCombinationGeneratorTest
      Running org.apache.rya.indexing.external.PrecomputedJoinStorageSupplierTest
      Running org.apache.rya.indexing.external.PrecompJoinOptimizerTest
      Running org.apache.rya.indexing.external.PrecompJoinOptimizerVarToConstTest
      Running org.apache.rya.indexing.external.PrecomputedJoinUpdaterSupplierTest
      Running org.apache.rya.indexing.external.tupleSet.VarConstQueryVariableNormalizerTest
      Running org.apache.rya.indexing.external.tupleSet.ParsedQueryUtilTest
      Running org.apache.rya.indexing.external.tupleSet.SimpleExternalTupleSetTest
      Running org.apache.rya.indexing.external.tupleSet.AccumuloIndexSetColumnVisibilityTest
      Running org.apache.rya.indexing.external.tupleSet.AccumuloIndexSetTest
      Running org.apache.rya.indexing.external.tupleSet.QueryVariableNormalizerTest
      Running org.apache.rya.indexing.pcj.matching.JoinSegmentTest
      Running org.apache.rya.indexing.pcj.matching.PCJOptimizerUtilitesTest
      Running org.apache.rya.indexing.pcj.matching.PCJNodeConsolidatorTest
      Running org.apache.rya.indexing.pcj.matching.OptionalJoinSegmentTest
      Running org.apache.rya.indexing.pcj.matching.FlattenedOptionalTest
      Running org.apache.rya.indexing.pcj.matching.JoinSegmentPCJMatcherTest
      Running org.apache.rya.indexing.pcj.matching.PCJOptimizerTest
      Running org.apache.rya.indexing.pcj.matching.OptionalJoinSegmentPCJMatcherTest
      Running org.apache.rya.indexing.smarturi.duplication.DuplicateDataDetectorTest
      Running org.apache.rya.indexing.statement.metadata.MongoStatementMetadataNodeTest
      Running org.apache.rya.indexing.statement.metadata.AccumuloStatementMetadataNodeTest
      Running org.apache.rya.indexing.statement.metadata.StatementMetadataExternalSetProviderTest
      Running org.apache.rya.indexing.statement.metadata.StatementMetadataOptimizerTest
      Running org.apache.rya.indexing.accumulo.entity.AccumuloDocIndexerTest
      Running org.apache.rya.indexing.accumulo.entity.EntityOptimizerTest
      Running org.apache.rya.indexing.accumulo.entity.EntityCentricIndexTest
      Running org.apache.rya.indexing.accumulo.entity.StarQueryTest
      Running org.apache.rya.indexing.accumulo.freetext.query.QueryParserTest
      Running org.apache.rya.indexing.accumulo.freetext.AccumuloFreeTextIndexerTest
      Running org.apache.rya.indexing.accumulo.StatementSerializerTest
      Running org.apache.rya.indexing.accumulo.AccumuloIndexingConfigurationTest
      Running org.apache.rya.indexing.accumulo.temporal.TemporalIntervalTest
      Running org.apache.rya.indexing.accumulo.temporal.TemporalInstantTest
      Running org.apache.rya.indexing.accumulo.temporal.AccumuloTemporalIndexerTest
      Running org.apache.rya.indexing.mongo.MongoTemporalIndexerTest
      Running org.apache.rya.indexing.mongo.MongoFreeTextIndexerTest
      Running org.apache.rya.indexing.mongo.MongoIndexingConfigurationTest
      Running org.apache.rya.indexing.mongo.MongoEntityIndexTest
      Running org.apache.rya.accumulo.documentIndex.DocumentIndexIntersectingIteratorTest
      

      Attachments

        Issue Links

          Activity

            People

              isper3at Andrew Smith
              jdasch Jeff Dasch
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: