Skip to content

Broken test: ExternalCompaction_1_IT.testPartialCompaction timing out #5052

@dlmarion

Description

@dlmarion

Test is succeeding on it's own, but when you run all the tests in the class it times out. In my runs testGetActiveCompactions runs before testPartialCompactions and both tests use the same group, QUEUE8 to execute compactions. Jstacking the Compactor process for that group, the Compactor is doing the following:

	at java.lang.Thread.sleep(java.base@11.0.23/Native Method)
	at org.apache.accumulo.test.functional.SlowIterator.next(SlowIterator.java:58)
	at org.apache.accumulo.server.compaction.FileCompactor.compactLocalityGroup(FileCompactor.java:535)
	at org.apache.accumulo.server.compaction.FileCompactor.call(FileCompactor.java:337)
	at org.apache.accumulo.compactor.Compactor$2.run(Compactor.java:573)
	at org.apache.accumulo.core.trace.TraceWrappedRunnable.run(TraceWrappedRunnable.java:52)
	at java.lang.Thread.run(java.base@11.0.23/Thread.java:829)

testGetActiveCompactions is the only test in the IT class that uses SlowIterator, and at the very end of the testGetActiveCompactions it cancels the compaction. The compaction cancellation must not be working.

Metadata

Metadata

Assignees

Labels

bugThis issue has been verified to be a bug.testAn issue pertaining to a test case

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions