Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-4430

FastBulkImportIT does not always pass

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • test
    • None

    Description

      I occasionally get the following failure:

      -------------------------------------------------------------------------------
      Test set: org.apache.accumulo.test.performance.metadata.FastBulkImportIT
      -------------------------------------------------------------------------------
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 64.649 sec <<< FAILURE! - in org.apache.accumulo.test.performance.metadata.FastBulkImportIT
      test(org.apache.accumulo.test.performance.metadata.FastBulkImportIT)  Time elapsed: 64.648 sec  <<< FAILURE!
      java.lang.AssertionError
              at org.apache.accumulo.test.performance.metadata.FastBulkImportIT.test(FastBulkImportIT.java:109)
      

      The test is checking that the bulk import completes in less than 30 seconds with 5 assignment/process threads, no compactions, and no WAL. That number seems arbitrary, and dependent on many conditions which the test cannot control for. A hard-coded expectation of less than 30 seconds seems unreasonable to me.

      Is there a better way we can test that the TServer doesn't re-read bulk-loaded flags, perhaps with a mocked unit test?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ctubbsii Christopher Tubbs
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: