Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Cannot Reproduce
-
None
-
None
-
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
- relates to
-
ACCUMULO-3327 tablet server re-reads the bulk loaded flags with every bulk import request
- Resolved